-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
47 lines (35 loc) · 1.19 KB
/
justfile
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
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
set positional-arguments
@default:
just --list
@build:
cross build --target x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/debug/discord-rpc-lastfm.exe .
@build-release:
cross build --release --target x86_64-pc-windows-gnu
cp target/x86_64-pc-windows-gnu/release/discord-rpc-lastfm.exe .
@build-windows:
cargo build --target x86_64-pc-windows-gnu
cp target\\x86_64-pc-windows-gnu\\debug\\discord-rpc-lastfm.exe .
@build-windows-release:
cargo build --release --target x86_64-pc-windows-gnu
cp target\\x86_64-pc-windows-gnu\\release\\discord-rpc-lastfm.exe .
@test:
cargo test --target x86_64-pc-windows-gnu
@run-release args="":
cross run --release --target x86_64-pc-windows-gnu -- $1
@run args="":
echo $1
cross run --target x86_64-pc-windows-gnu -- $1
@run-windows-release args="":
cargo run --release --target x86_64-pc-windows-gnu -- $1
@run-windows args="":
cargo run --target x86_64-pc-windows-gnu -- $1
@create-tag args="v0.2.3":
git tag $1
git push origin $1
@fix-tag args="v0.2.3":
git tag -d $1
git tag $1
git push origin :$1
git push origin $1