mirror of
https://github.com/moul/sshportal.git
synced 2025-01-06 07:32:01 +08:00
Add 'make dev EXTRA_RUN_OPTS' flag
make dev EXTRA_RUN_OPTS="--db-conn=root@/db?parseTime=true --db-driver=mysql"
This commit is contained in:
parent
86f6e87efe
commit
bd158819d3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -25,7 +25,7 @@ _docker_install:
|
||||||
.PHONY: dev
|
.PHONY: dev
|
||||||
dev:
|
dev:
|
||||||
-go get github.com/githubnemo/CompileDaemon
|
-go get github.com/githubnemo/CompileDaemon
|
||||||
CompileDaemon -exclude-dir=.git -exclude=".#*" -color=true -command="./sshportal --debug --bind-address=:$(PORT) --aes-key=$(AES_KEY)" .
|
CompileDaemon -exclude-dir=.git -exclude=".#*" -color=true -command="./sshportal --debug --bind-address=:$(PORT) --aes-key=$(AES_KEY) $(EXTRA_RUN_OPTS)" .
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Reference in a new issue