diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-15 14:28:34 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-15 14:28:34 -0500 |
commit | ed3a55508532fbaf6359abcc6e6a29192139cc9c (patch) | |
tree | a64f46a7b093281cc309c084d48818dd8a7d9854 /Makefile | |
parent | 17f98c7d0a864502e5722e756e33c6d2fef8a2c0 (diff) | |
download | teleterm-ed3a55508532fbaf6359abcc6e6a29192139cc9c.tar.gz teleterm-ed3a55508532fbaf6359abcc6e6a29192139cc9c.zip |
move paths around a bit
this seems more likely to work when building the published crate
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -95,8 +95,11 @@ install-arch: pkg/$(ARCH_PACKAGE) @sudo pacman -U pkg/$(ARCH_PACKAGE) .PHONY: install-arch -wasm: target/wasm/teleterm_web_bg.wasm +wasm: teleterm/static/teleterm_web.js teleterm/static/teleterm_web_bg.wasm .PHONY: wasm -target/wasm/teleterm_web_bg.wasm: teleterm-web/Cargo.toml teleterm-web/src/lib.rs +teleterm/static/%: target/wasm/% + @cp -f $< $@ + +target/wasm/teleterm_web.js target/wasm/teleterm_web_bg.wasm: teleterm-web/Cargo.toml teleterm-web/src/lib.rs @wasm-pack build --no-typescript --target web --out-dir ../target/wasm teleterm-web |