| 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 | ) |