Skip to content

Commit da80228

Browse files
committed
Add a script to format code
1 parent 856c44d commit da80228

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ bin/test
158158

159159
(This runs `mix test`).
160160

161+
Format code:
162+
163+
```sh
164+
bin/fmt
165+
```
166+
161167
### Troubleshooting
162168

163169
If you encounter WX library issues during Erlang installation:

bin/fmt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
#/ Usage: bin/test
3+
#/ Description: Runs all the unit tests for this project
4+
source bin/helpers/_utils.sh
5+
set_source_and_root_dir
6+
7+
mix format

0 commit comments

Comments
 (0)