mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
improve develop.sh (#2572)
- Running make dev now prompts you to run ./scripts/develop.sh manually, as GNU make does not appear to pass SIGINT to subprocesses. - Added checks to develop.sh to ensure that coderd is listening before running our initial setup steps - Add some more troubleshooting/debugging output to develop.sh
This commit is contained in:
@@ -60,8 +60,9 @@ 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
|
||||
|
||||
# This target is deprecated, as GNU make has issues passing signals to subprocesses.
|
||||
dev:
|
||||
./scripts/develop.sh
|
||||
@echo Please run ./scripts/develop.sh manually.
|
||||
.PHONY: dev
|
||||
|
||||
fmt/prettier:
|
||||
|
||||
Reference in New Issue
Block a user