-
-
Notifications
You must be signed in to change notification settings - Fork 444
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (37 loc) · 707 Bytes
/
Makefile
File metadata and controls
49 lines (37 loc) · 707 Bytes
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
# Makefile for monolith
all: build build-gui
.PHONY: all
build:
@cargo build --locked
.PHONY: build
build-gui:
@cargo build --locked --bin monolith-gui --features="gui"
.PHONY: build_gui
clean:
@cargo clean
.PHONY: clean
format:
@cargo fmt --all --
.PHONY: format
format-check:
@cargo fmt --all -- --check
.PHONY: format
install:
@cargo install --force --locked --path .
.PHONY: install
lint:
@cargo clippy --fix --allow-dirty --allow-staged
# @cargo fix --allow-dirty --allow-staged
.PHONY: lint
lint-check:
@cargo clippy --
.PHONY: lint_check
test: build
@cargo test --locked
.PHONY: test
uninstall:
@cargo uninstall
.PHONY: uninstall
update-lock-file:
@cargo update
.PHONY: clean