mirror of
https://github.com/onsonr/motr.git
synced 2025-03-10 17:29:10 +00:00
build: update build process to include dependency installation
This commit is contained in:
parent
4efb7e81ab
commit
fb99309e78
11
Makefile
11
Makefile
@ -7,15 +7,18 @@ BINDIR ?= $(GOPATH)/bin
|
|||||||
DOCKER := $(shell which docker)
|
DOCKER := $(shell which docker)
|
||||||
HTTPS_GIT := github.com/onsonr/hway.git
|
HTTPS_GIT := github.com/onsonr/hway.git
|
||||||
|
|
||||||
|
export RELEASE_DATE="$(date +%Y).$(date +%V).$(date +%u)"
|
||||||
|
|
||||||
all: install test
|
all: deps install test
|
||||||
|
|
||||||
|
deps:
|
||||||
|
go install github.com/apple/pkl-go/cmd/pkl-gen-go@latest
|
||||||
|
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
|
||||||
|
go install github.com/go-task/task/v3/cmd/task@latest
|
||||||
|
|
||||||
build: go.sum
|
build: go.sum
|
||||||
GOOS=js GOARCH=wasm go build -o build/app.wasm ./cmd/main.go
|
GOOS=js GOARCH=wasm go build -o build/app.wasm ./cmd/main.go
|
||||||
|
|
||||||
install: go.sum
|
|
||||||
go install -mod=readonly ./cmd/hway
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
### Tools & dependencies
|
### Tools & dependencies
|
||||||
########################################
|
########################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user