Skip to content

Commit f9d45db

Browse files
f0sselkylecarbs
authored andcommitted
chore: add make dev (#1527)
1 parent ae575e7 commit f9d45db

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ coderd/database/dump.sql: $(wildcard coderd/database/migrations/*.sql)
2020
coderd/database/querier.go: coderd/database/dump.sql $(wildcard coderd/database/queries/*.sql)
2121
coderd/database/generate.sh
2222

23+
dev: build
24+
./scripts/develop.sh
25+
.PHONY: dev
26+
2327
dist/artifacts.json: site/out/index.html $(shell find . -not -path './vendor/*' -type f -name '*.go') go.mod go.sum
2428
goreleaser release --snapshot --rm-dist --skip-sign
2529

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Coder requires Go 1.18+, Node 14+, and GNU Make.
99

1010
Use the following `make` commands and scripts in development:
1111

12+
- `make dev` runs the frontend and backend development server
1213
- `make build` compiles binaries and release packages
1314
- `make install` installs binaries to `$GOPATH/bin`
1415
- `make test`
15-
- `./develop.sh` hot reloads for front-end development
1616

1717
## Styling
1818

File renamed without changes.

0 commit comments

Comments
 (0)