diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2024-06-28 14:30:15 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2024-06-28 14:34:18 +0200 |
| commit | a3612d21d164de14f4aeb4442ef747eb8fdfa8eb (patch) | |
| tree | 28c32dfb4963fd34ad1dade272ce69049de46d69 /Makefile | |
| parent | bdb47ee691f0302c05daaf0278b606fbaf319f61 (diff) | |
Remove GitHub build
Project is migrating to Codeberg, so we remove GitHub related things.
This includes bot the GitHub actions, but also the `devcontainers`. More
information was added in the README, and a Makefile is provided for
building the project.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8c9a8f2 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +.POSIX: +.SUFFIXES: + +CARGO = cargo +WASMOPT = wasm-opt + +.PHONY: all +all: check build + +.PHONY: check +check: + $(CARGO) fmt -- --check + $(CARGO) clippy --locked --all-targets -- -D warnings + $(CARGO) test + +.PHONY: build +build: + $(CARGO) build --release + $(CARGO) build --release --target wasm32-wasi + $(WASMOPT) target/wasm32-wasi/release/hdwallet.wasm -O4 -o target/hdwallet.wasm --strip-debug --strip-producers |
