mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
This may cause conflicts with all my other PRs but it has to happen. ```[tasklist] - [ ] Update test names in branch protection (I don't think I have perms for this) ```
25 lines
504 B
Bash
Executable File
25 lines
504 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# The Windows client obviously doesn't build for *nix, but this
|
|
# script is helpful for doing UI work on those platforms for the
|
|
# Windows client.
|
|
set -e
|
|
|
|
# Fixes exiting with Ctrl-C
|
|
stop() {
|
|
kill "$(jobs -p)"
|
|
}
|
|
trap stop INT TERM
|
|
|
|
# Copy frontend dependencies
|
|
cp node_modules/flowbite/dist/flowbite.min.js src/
|
|
|
|
# Compile TypeScript
|
|
tsc --watch &
|
|
|
|
# Compile CSS
|
|
tailwindcss -i src/input.css -o src/output.css --watch &
|
|
|
|
# Start Tauri hot-reloading: Not applicable for Windows
|
|
# tauri dev
|