Skip to content

Commit 8b4eae4

Browse files
committed
Fix Makefile
1 parent 0b27858 commit 8b4eae4

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,40 @@ clean:
8888
rm -rf priv/static
8989
rm -rf node_modules
9090

91+
format:
92+
mix format
93+
94+
lint:
95+
mix format --check-formatted
96+
97+
credo:
98+
mix credo
99+
100+
db-recreate:
101+
mix cmd --app codebattle mix ecto.reset
102+
103+
outdated:
104+
mix hex.outdated
105+
106+
lint-js:
107+
cd apps/codebattle && pnpm run lint
108+
109+
lint-js-fix:
110+
cd apps/codebattle && pnpm run lint-fix
111+
112+
start:
113+
bin/codebattle eval "Codebattle.Utils.Release.migrate"
114+
bin/codebattle start
115+
116+
runner-start:
117+
bin/runner start
118+
119+
server:
120+
iex -S mix phx.server
121+
122+
console:
123+
iex -S mix
124+
91125
test:
92126
mix coveralls.json --exclude image_executor --max-failures 1
93127

0 commit comments

Comments
 (0)