mirror of
https://github.com/cf-sonr/motr.git
synced 2026-01-12 02:59:13 +00:00
14 lines
516 B
Makefile
14 lines
516 B
Makefile
.PHONY: build
|
|
|
|
all: build publish
|
|
|
|
build:
|
|
@gum spin --show-error --title "[VERIFIER] Running tinygo build..." -- sh -c "tinygo build -o verifier.wasm -target wasip1 -buildmode=c-shared main.go"
|
|
@gum log --level info --time kitchen "[VERIFIER] Completed tinygo build successfully."
|
|
|
|
publish: build
|
|
@gum spin --show-error --title "[VERIFIER] Uploading verifier.wasm to r2" -- sh -c "rclone copy ./verifier.wasm r2:cdn/bin/"
|
|
@gum log --level info --time kitchen "[VERIFIER] Completed rclone upload successfully."
|
|
|
|
|