-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
83 lines (55 loc) · 1.6 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Make will use bash instead of sh
SHELL := /usr/bin/env bash
.PHONY: help
help:
@echo ' make example Run the example code.'
@echo ' make build Builds the code base incrementally (fast) for dev.'
@echo ' make check Checks the code base for security vulnerabilities.'
@echo ' make clean Cleans generated files and folders.'
@echo ' make doc Builds, tests, and opens api docs in a browser.'
@echo ' make fix Fixes linting issues as reported by clippy.'
@echo ' make format Formats call code according to cargo fmt style.'
@echo ' make install Tests and installs all make script dependencies.'
@echo ' make release Builds the code base for release.'
@echo ' make test Tests across all crates.'
@echo ' make run Runs the default binary.'
@echo ' make update Update rust, pull git, and build the project.'
# "---------------------------------------------------------"
# Development make targets
# "---------------------------------------------------------"
.PHONY: build
build:
@source scripts/build.sh
.PHONY: check
check:
@source scripts/check.sh
.PHONY: clean
clean:
@source scripts/clean.sh
.PHONY: doc
doc:
@source scripts/doc.sh
.PHONY: example
example:
@source scripts/example.sh
.PHONY: fix
fix:
@source scripts/fix.sh
.PHONY: format
format:
@source scripts/format.sh
.PHONY: install
install:
@source scripts/install_deps.sh
.PHONY: release
release:
@source scripts/release.sh
.PHONY: run
run:
@source scripts/run.sh
.PHONY: test
test:
@source scripts/test.sh
.PHONY: update
update:
@source scripts/update.sh