We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a782cec commit 1227aaeCopy full SHA for 1227aae
1 file changed
makefile
@@ -1,3 +1,12 @@
1
+check:
2
+ @output=$$(yarn run --silent prettier --check src 2>&1) || { echo "$$output"; exit 1; }
3
+ @output=$$(yarn run --silent eslint src 2>&1) || { echo "$$output"; exit 1; }
4
+
5
+fix:
6
+ @output=$$(yarn run --silent prettier --write src 2>&1) || { echo "$$output"; exit 1; }
7
+ @output=$$(yarn run --silent eslint --fix src 2>&1) || { echo "$$output"; exit 1; }
8
9
10
GIT_VERSION = `git rev-parse --short HEAD`
11
12
run:
@@ -6,14 +15,6 @@ run:
15
build:
16
yarn build
17
-check:
- yarn run prettier --check src
- yarn eslint src
-
13
-fix:
14
- yarn run prettier --write src
- yarn eslint --fix src
18
gen:
19
yarn run openapi-ts -i http://leda.sao.ru/api/openapi.json -o ./src/clients/backend
20
yarn run openapi-ts -i http://leda.sao.ru/admin/api/openapi.json -o ./src/clients/admin
0 commit comments