Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3669f64ff6 |
@@ -43,16 +43,17 @@ fmt:
|
|||||||
run *ARGS:
|
run *ARGS:
|
||||||
go run -ldflags "-X main.version={{version}}" ./cmd/gasm {{ARGS}}
|
go run -ldflags "-X main.version={{version}}" ./cmd/gasm {{ARGS}}
|
||||||
|
|
||||||
# Install the gasm binary into $GOBIN (stamped with the release version).
|
# Install the gasm binary into ~/.local/bin (stamped with the release version).
|
||||||
install-bin:
|
install-bin:
|
||||||
go install -ldflags "-X main.version={{version}}" ./cmd/gasm
|
mkdir -p "$HOME/.local/bin"
|
||||||
|
GOBIN="$HOME/.local/bin" go install -ldflags "-X main.version={{version}}" ./cmd/gasm
|
||||||
|
|
||||||
# Regenerate the architecture instruction tables from the Go toolchain source.
|
# Regenerate the architecture instruction tables from the Go toolchain source.
|
||||||
gen:
|
gen:
|
||||||
go run _gen/gen.go
|
go run _gen/gen.go
|
||||||
gofmt -w arch/
|
gofmt -w arch/
|
||||||
|
|
||||||
# Remove build artefacts.
|
# Remove build artefacts and the installed binaries.
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f coverage.out gasm
|
rm -f coverage.out gasm "$HOME/.local/bin/gasm" "$HOME/go/bin/gasm"
|
||||||
find . -name '*.test' -delete
|
find . -name '*.test' -delete
|
||||||
|
|||||||
Reference in New Issue
Block a user