Add smc config
This commit is contained in:
parent
8e4e8a9453
commit
735af68a3a
3 changed files with 45 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/target
|
/target
|
||||||
|
/dist
|
||||||
|
|
15
Justfile
Normal file
15
Justfile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/env -S just --justfile
|
||||||
|
|
||||||
|
alias b := build
|
||||||
|
|
||||||
|
build:
|
||||||
|
cargo build
|
||||||
|
|
||||||
|
dist:
|
||||||
|
rm -Rf ./dist
|
||||||
|
mkdir dist
|
||||||
|
cargo build --target=x86_64-pc-windows-gnu --release
|
||||||
|
smc bin_win files
|
||||||
|
cargo build --target=x86_64-unknown-linux-musl --release
|
||||||
|
smc bin_linux files
|
||||||
|
smc sources
|
29
smc.toml
Normal file
29
smc.toml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
[profiles]
|
||||||
|
[profiles.bin_linux]
|
||||||
|
output = "./dist/notipriv-1.0.0-x86_64-unknown-linux-musl$EXT"
|
||||||
|
directory = "target/x86_64-unknown-linux-musl/release/"
|
||||||
|
files = ["notipriv"]
|
||||||
|
container = "Tar"
|
||||||
|
compression = "Zstd"
|
||||||
|
compression_level = 15
|
||||||
|
signatures = ["Sha512"]
|
||||||
|
|
||||||
|
[profiles.bin_win]
|
||||||
|
output = "./dist/notipriv-1.0.0-x86_64-pc-windows-gnu$EXT"
|
||||||
|
directory = "target/x86_64-pc-windows-gnu/release/"
|
||||||
|
files = ["notipriv.exe"]
|
||||||
|
container = "Zip"
|
||||||
|
compression = "Deflate"
|
||||||
|
compression_level = 9
|
||||||
|
signatures = ["Sha512"]
|
||||||
|
|
||||||
|
[profiles.files]
|
||||||
|
files = ["README.md", "LICENSE.md"]
|
||||||
|
|
||||||
|
[profiles.sources]
|
||||||
|
paths = ["./"]
|
||||||
|
output = "./dist/notipriv-1.0.0-src$EXT"
|
||||||
|
container = "Tar"
|
||||||
|
compression = "Zstd"
|
||||||
|
compression_level = 15
|
||||||
|
signatures = ["Sha512"]
|
Loading…
Reference in a new issue