forked from o2sh/onefetch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 708 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 708 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
build:
cargo build --release --features=fail-on-deprecated
install:
cargo install --path "." --features=fail-on-deprecated
uninstall:
cargo uninstall onefetch
clean:
cargo clean
release-mac:
strip target/release/onefetch
mkdir -p release
tar -C ./target/release/ -czvf ./release/onefetch-mac.tar.gz ./onefetch
release-win: TAG_NAME = $$(git describe --abbrev=0 --tags)
release-win:
mkdir -p release
tar -C ./target/release/ -czvf ./release/onefetch-win.tar.gz ./onefetch.exe
iscc.exe -DMyAppVersion=${TAG_NAME} ./.github/workflows/windows-installer.iss
release-linux:
strip target/release/onefetch
mkdir -p release
tar -C ./target/release/ -czvf ./release/onefetch-linux.tar.gz ./onefetch