chiark / gitweb /
Makefile: Provide more check targets
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 24 Mar 2021 19:09:39 +0000 (19:09 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 24 Mar 2021 19:12:26 +0000 (19:12 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index bdb513280a503444e0772ce64036ca258d8e00b8..991e145a6b2be90948f50eabbf15763215bb5ee3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ src=.
 
 default: all check
 all: debug
+full-check: all check cargo-syntaxcheck-release
 everything: debug doc release check bundled-sources
 
 shapelib: templates/shapelib.html stamp/cargo.doc-otter-only
@@ -162,7 +163,9 @@ cargo-syntaxcheck: cargo-syntaxcheck-host cargo-syntaxcheck-wasm
 cargo-syntaxcheck-host:
        $(CARGO) check --workspace
 cargo-syntaxcheck-wasm:
-       $(CARGO) check --target $(WASM) -p otter-wasm
+       $(CARGO) check --target $(WASM) -p otter-wasm --release
+cargo-syntaxcheck-release:
+       $(CARGO) check --workspace --release
 
 #---------- cargo ----------