Skip to content

Commit

Permalink
Add make and make clean
Browse files Browse the repository at this point in the history
In case people clone the repository and want to quickly build the binary from source, as an alternative to `go install github.com/HewlettPackard/terraschema@latest`
  • Loading branch information
AislingHPE committed Aug 23, 2024
1 parent dcfdec3 commit 1a2b1c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor
.vscode
.vscode
terraschema
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright 2024 Hewlett Packard Enterprise Development LP
.DEFAULT_GOAL := terraschema

.PHONY: test
test:
Expand All @@ -9,4 +10,12 @@ lint:
golangci-lint run

.PHONY: all
all: test lint
all: test lint

.PHONY: terraschema
terraschema:
@go build .

.PHONY: clean
clean:
@rm -f terraschema

0 comments on commit 1a2b1c9

Please sign in to comment.