File tree Expand file tree Collapse file tree 3 files changed +19
-8
lines changed Expand file tree Collapse file tree 3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 32
32
33
33
devShells = forAllSystems ( system : {
34
34
default = pkgs . mkShell {
35
- nativeBuildInputs = with pkgs ; [ rust . packages . stable . rustPlatform . rustcSrc rustc cargo rustPackages . clippy docker ] ;
35
+ nativeBuildInputs = with pkgs ; [
36
+ rust . packages . stable . rustPlatform . rustcSrc
37
+ rustc
38
+ cargo
39
+ rustPackages . clippy
40
+ docker
41
+ cargo-features-manager
42
+ cargo-bloat
43
+ ] ;
36
44
} ;
37
45
} ) ;
38
46
Original file line number Diff line number Diff line change 8
8
9
9
release : linux
10
10
@mkdir -p " release/$( VERSION) "
11
- cp " target/$( LINUX_TARGET) /release /nyaa" " release/$( VERSION) /nyaa-$( VERSION) -$( LINUX_TARGET) "
12
- @echo " \nCommits since last tag:"
11
+ cp " target/$( LINUX_TARGET) /github /nyaa" " release/$( VERSION) /nyaa-$( VERSION) -$( LINUX_TARGET) "
12
+ @echo " Commits since last tag:"
13
13
@git log $(shell git describe --tags --abbrev=0) ..HEAD --oneline
14
14
15
15
win :
18
18
linux :
19
19
cargo build --target $(LINUX_TARGET ) --profile=github
20
20
21
- fedora :
21
+ github :
22
+ cargo build --profile=github
23
+
24
+ fedora : github
22
25
@mkdir -p " release/$( VERSION) "
23
- cargo generate-rpm
26
+ cargo generate-rpm --profile github
24
27
cp target/generate-rpm/nyaa-$(VERSION ) * .rpm " release/$( VERSION) /"
25
28
26
29
deb :
You can’t perform that action at this time.
0 commit comments