mirror of https://github.com/coder/coder.git
chore: add make dev (#1527)
This commit is contained in:
parent
841b792e8e
commit
495c87b6c3
4
Makefile
4
Makefile
|
@ -20,6 +20,10 @@ coderd/database/dump.sql: $(wildcard coderd/database/migrations/*.sql)
|
|||
coderd/database/querier.go: coderd/database/dump.sql $(wildcard coderd/database/queries/*.sql)
|
||||
coderd/database/generate.sh
|
||||
|
||||
dev: build
|
||||
./scripts/develop.sh
|
||||
.PHONY: dev
|
||||
|
||||
dist/artifacts.json: site/out/index.html $(shell find . -not -path './vendor/*' -type f -name '*.go') go.mod go.sum
|
||||
goreleaser release --snapshot --rm-dist --skip-sign
|
||||
|
||||
|
|
|
@ -9,10 +9,10 @@ Coder requires Go 1.18+, Node 14+, and GNU Make.
|
|||
|
||||
Use the following `make` commands and scripts in development:
|
||||
|
||||
- `make dev` runs the frontend and backend development server
|
||||
- `make build` compiles binaries and release packages
|
||||
- `make install` installs binaries to `$GOPATH/bin`
|
||||
- `make test`
|
||||
- `./develop.sh` hot reloads for front-end development
|
||||
|
||||
## Styling
|
||||
|
||||
|
|
Loading…
Reference in New Issue