Skip to content

Commit

Permalink
fix: goreleaser build
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-karan committed Mar 4, 2021
1 parent f83a1d1 commit 49d5e93
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ builds:
- -s -w -X "main.buildVersion={{ .Tag }} ({{ .ShortCommit }} {{ .Date }})"
dir: ./cmd/doggo/api/
hooks:
pre: make build-frontend
pre: make deps && make build-frontend

archives:
- format: tar.gz
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build-api:

.PHONY: deps
deps:
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
cd cmd/doggo/api && npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

.PHONY: build
build: build-api build-cli
Expand Down
Loading

0 comments on commit 49d5e93

Please sign in to comment.