mirror of
https://github.com/narrrl/narl-workspace.git
synced 2026-11-03 16:41:27 +01:00
build: a clone compiles before the frontend is built
rust-embed refused to derive without `web/dist`, so on a fresh clone `cargo check`, `cargo test` and rust-analyzer failed with a derive error that did not say what was missing. With `allow_missing` the embed is empty until the frontend is built, and the handler gives the answer it already had for that case, "frontend not built". The release build is unchanged once `web/dist` is there, which `make build`, the Dockerfile and CI all see to.
This commit is contained in:
1 parent
0e0d21506e
commit
a59ba4af1b
4 files changed
+14
-9
No files matched your search
@@ -18,7 +18,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
# The binary embeds web/dist, so nothing compiles before the frontend is built.
|
||||
# Built first so the binary under test embeds the app it ships with.
|
||||
- name: frontend
|
||||
working-directory: web
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user