-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
40 lines (32 loc) · 828 Bytes
/
Makefile.toml
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
[tasks.clean-app]
run_task = [
{name = ["clean-backend", "clean-tauri"]}
]
[tasks.clean-backend]
cwd = "./BYBE-backend/"
command = "cargo"
args = ["clean"]
[tasks.clean-tauri]
cwd = "./BYBE-tauri/"
command = "cargo"
args = ["clean"]
[tasks.prebuild]
cwd = "./BYBE-backend/"
command = "cargo"
args = ["make", "bybe-release"]
[tasks.build-multiplat-app]
install_crate = "tauri-cli"
command = "cargo"
args = ["tauri", "build"]
dependencies = ["clean-app", "prebuild"]
[tasks.build-linux-app]
install_crate = "tauri-cli"
command = "cargo"
args = ["tauri", "build"]
dependencies = ["clean-app", "prebuild"]
env = { NO_STRIP=true }
[tasks.build-app]
run_task = [
{ name = "build-multiplat-app", condition = { platforms = ["windows", "mac"]} },
{ name = "build-linux-app", condition = { platforms = ["linux"]} },
]