add build file

Seto Elkahfi committed Jul 30, 2024 at 18:01 UTC ffcb882af002430ed74602057a091cdfc61d7062
2 files changed +22 -3
frontend/splitfire-desktop/.gitignore
-3
@@ -8,9 +8,6 @@
8 # testing
9 /coverage
10
11 -# production
12 -/build
13 -
11 # misc
12 .DS_Store
13 .env.local
frontend/splitfire-desktop/BUILD new
+22
@@ -0,0 +1,22 @@
1 +load("@npm//@tauri-apps/cli:index.bzl", "tauri")
2 +
3 +tauri(
4 + name = "dev",
5 + data = glob(["**"]) + [
6 + "@npm//next",
7 + ],
8 + templated_args = [
9 + "dev",
10 + ],
11 +)
12 +
13 +# Bundle doesn't work under bazel
14 +tauri(
15 + name = "bundle",
16 + data = glob(["**"]) + [
17 + "@npm//next",
18 + ],
19 + templated_args = [
20 + "build",
21 + ],
22 +)