-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (32 loc) · 859 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
help: ## docs : Display tasks
@cat Makefile |\
egrep '^[A-Z0-9a-z-]+:' |\
sed -e 's/:[ ]*##[ ]*/:/' |\
column -t -s :
swagger-ui: ## docs :
./scripts/swagger-ui.sh
cargo-clippy: ## lint :
cargo clippy -- \
--no-deps \
--deny warnings
cargo-clippy-fix: ## lint :
cargo clippy --fix -- \
--no-deps \
--deny warnings
cargo-fmt: ## format :
cargo fmt
deno-fmt: ## format :
cd e2e-tests && deno fmt
format: ## format
make cargo-fmt
make deno-fmt
e2e-test: ## test : Run e2e tests
./scripts/e2e-test.sh
gesha-sample: ## debug : Sample command
cargo run --bin gesha -- \
--schema schemas/v3.0/petstore.yaml
gesha-test: ## test : Test gesha command
cargo run --bin gesha-test
./scripts/test-examples.sh
gesha-test-overwrite: ## test : Overwrite examples by generated files
cargo run --bin gesha-test -- --overwrite