File tree Expand file tree Collapse file tree 3 files changed +6
-68
lines changed Expand file tree Collapse file tree 3 files changed +6
-68
lines changed Original file line number Diff line number Diff line change
1
+ RUST_VERSION = 1.66
2
+
1
3
all : debug test
2
4
3
5
#
30
32
31
33
.PHONY : deps
32
34
deps :
33
- rustup update stable
34
- rustup default stable
35
+ rustup install $( RUST_VERSION )
36
+ rustup default $( RUST_VERSION )
35
37
rustup component add rustfmt clippy
Original file line number Diff line number Diff line change 1
- all : debug test
2
-
3
- #
4
- # Build
5
- #
6
-
7
- .PHONY : debug
8
- debug :
9
- cargo build --verbose --all-targets
10
-
11
- .PHONY : release
12
- release :
13
- cargo build --release
14
-
15
- .PHONY : build
16
- build : debug
17
-
18
- .PHONY : test
19
- test :
20
- cargo test --all-features --verbose
21
-
22
- .PHONY : check
23
- check :
24
- cargo fmt --all -- --check
25
- cargo clippy --all-targets --all-features -- -D warnings
26
-
27
- .PHONY : deps
28
- deps :
29
- rustup update stable
30
- rustup default stable
31
- rustup component add rustfmt clippy
1
+ include ../Makefile
Original file line number Diff line number Diff line change 1
- all : debug test
2
-
3
- #
4
- # Build
5
- #
6
-
7
- .PHONY : debug
8
- debug :
9
- cargo build --verbose --all-targets
10
-
11
- .PHONY : release
12
- release :
13
- cargo build --release
14
-
15
- .PHONY : build
16
- build : debug
17
-
18
- #
19
- # Tests and linters
20
- #
21
-
22
- .PHONY : test
23
- test :
24
- cargo test --verbose
25
-
26
- .PHONY : check
27
- check :
28
- cargo fmt --all -- --check
29
- cargo clippy --all-targets --all-features -- -D warnings
30
-
31
- .PHONY : deps
32
- deps :
33
- rustup update stable
34
- rustup default stable
35
- rustup component add rustfmt clippy
1
+ include ../Makefile
You can’t perform that action at this time.
0 commit comments