-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile to simplify development (#14)
* added makefile for simple development * More additions to make file and Makefile reference in README * cleaning up readme * cleaning up readme * cleaning up readme * cleaning up readme
- Loading branch information
Showing
2 changed files
with
61 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.ONESHELL: | ||
.PHONY: all step1 step2 step3 | ||
|
||
tailwind-watch: | ||
npx tailwindcss -i ./static/css/input.css -o ./static/css/output.css --watch | ||
templ-watch: | ||
templ generate --watch | ||
|
||
air: | ||
air | ||
watch: | ||
${MAKE} -j3 tailwind-watch templ-watch air | ||
|
||
upclient-generate: | ||
openapi-generator-cli generate -i openapi.json -g go -o ./datafetcher/upclient --additional-properties packageName=upclient --git-user-id esteanes --git-repo-id expense-manager/datafetcher/upclient | ||
|
||
build: | ||
templ generate && gofmt -s -w . && go mod tidy && go build -o expense-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters