| 1 | load("@npm//@tauri-apps/cli:index.bzl", "tauri") |
| 2 | |
| 3 | tauri( |
| 4 | name = "dev", |
| 5 | data = glob(["**"]) + [ |
| 6 | "@npm//next", |
| 7 | ] + [ |
| 8 | "//lib:crate_error_codes", |
| 9 | ], |
| 10 | templated_args = [ |
| 11 | "dev", |
| 12 | ], |
| 13 | ) |
| 14 | |
| 15 | # Bundle doesn't work under bazel |
| 16 | tauri( |
| 17 | name = "bundle", |
| 18 | data = glob(["**"]) + [ |
| 19 | "@npm//next", |
| 20 | ], |
| 21 | templated_args = [ |
| 22 | "build", |
| 23 | ], |
| 24 | ) |