forked from chainflag/eth-faucet
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve github actions. use npm not yarn. add justfile.
* remove goreleaser action and config. we're not using it * update readme * always build both images
- Loading branch information
1 parent
e5c0689
commit 00d774b
Showing
11 changed files
with
1,365 additions
and
705 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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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,35 @@ | ||
default: | ||
@just --list | ||
|
||
# builds front end web app and go binary | ||
build: | ||
go generate -x | ||
go build -v | ||
|
||
# lints the go code | ||
go-lint: | ||
golangci-lint run ./... | ||
|
||
# tests the go code | ||
go-test: | ||
go test -v ./... | ||
|
||
# runs the go binary | ||
go-run: | ||
go run -v ./... -httpport 8080 | ||
|
||
# installs deps for front end app | ||
web-install-deps: | ||
cd web && npm install | ||
|
||
# prettifies web code | ||
web-prettier: | ||
cd web && npm run prettier | ||
|
||
# run the front end dev server | ||
web-run: | ||
cd web && npm run dev | ||
|
||
# run front end and backend via mprocs (`brew install mrpocs` may be needed) | ||
run-all-dev: | ||
mprocs "just web-run" "just go-run" |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"scripts": { | ||
"build-web": "cd web && yarn install && yarn vite build" | ||
"build-web": "cd web && npm install && npm run build" | ||
} | ||
} |
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
Oops, something went wrong.