Add the tarball-standalone recipe(s)
Some checks failed
check / stable / fmt (push) Successful in 21s
check / beta / clippy (push) Failing after 54s
check / stable / clippy (push) Failing after 49s
check / semver (push) Failing after 5m25s
check / nightly / doc (push) Successful in 2m22s
check / ubuntu / stable / features (push) Successful in 2m32s
check / ubuntu / 1.79.0 (push) Failing after 26s
Some checks failed
check / stable / fmt (push) Successful in 21s
check / beta / clippy (push) Failing after 54s
check / stable / clippy (push) Failing after 49s
check / semver (push) Failing after 5m25s
check / nightly / doc (push) Successful in 2m22s
check / ubuntu / stable / features (push) Successful in 2m32s
check / ubuntu / 1.79.0 (push) Failing after 26s
I forgot to put this in when I added the phony target. Oops.
This commit is contained in:
9
Makefile
9
Makefile
@@ -21,7 +21,12 @@ web: out/boids.js out/boids_bg.wasm out/boids.html
|
|||||||
|
|
||||||
tarball: boids_web_root.tar
|
tarball: boids_web_root.tar
|
||||||
|
|
||||||
boids_web_root.tar: out/boids.js out/boids_bg.wasm out/index.html
|
tarball_standalone: boids_web_root_standalone.tar
|
||||||
|
|
||||||
|
boids_web_root.tar: out/boids.js out/boids_bg.wasm out/boids.html
|
||||||
|
tar -caf $@ $^
|
||||||
|
|
||||||
|
boids_web_root_standalone.tar: out/boids.js out/boids_bg.wasm out/index.html
|
||||||
tar -caf $@ $^
|
tar -caf $@ $^
|
||||||
|
|
||||||
target/$(CARGO_TARGET)/$(CARGO_PROFILE)/another-boids-in-rust.wasm: $(SRCS) Cargo.lock Cargo.toml
|
target/$(CARGO_TARGET)/$(CARGO_PROFILE)/another-boids-in-rust.wasm: $(SRCS) Cargo.lock Cargo.toml
|
||||||
@@ -48,7 +53,7 @@ out/boids.html: www/index.html
|
|||||||
# Clean the web build, but not the Cargo cache. Cargo handles it's own caching
|
# Clean the web build, but not the Cargo cache. Cargo handles it's own caching
|
||||||
# and I don't want to obliterate it all the time.
|
# and I don't want to obliterate it all the time.
|
||||||
clean:
|
clean:
|
||||||
rm -rf out/ boids_web_root.tar
|
rm -rf out/ boids_web_root.tar boids_web_root_standalone.tar
|
||||||
|
|
||||||
# Delete everything, including the Cargo build cache. In case someone needs
|
# Delete everything, including the Cargo build cache. In case someone needs
|
||||||
# this, I guess.
|
# this, I guess.
|
||||||
|
|||||||
Reference in New Issue
Block a user