7
justfile
7
justfile
@@ -30,14 +30,17 @@ run-back:
|
||||
test-back:
|
||||
cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} GO_ENV=test go test -C .. ./...
|
||||
|
||||
gen-back:
|
||||
cd {{ project_dir }} && go generate .
|
||||
|
||||
watch-back:
|
||||
watchexec -r -e go,yaml,tpl -i '.devenv/**' -i '.direnv/**' -i 'client/**' -i 'vendor/**' 'go build -o {{ server_exec_path }} . && cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} {{ server_exec_path }}'
|
||||
|
||||
dev: clean install
|
||||
dev: clean install gen-back
|
||||
devenv up --verbose
|
||||
|
||||
dev-client-cms: install-cms
|
||||
devenv up client-cms --verbose
|
||||
|
||||
dev-back: clean
|
||||
dev-back: clean gen-back
|
||||
devenv up backend postgres redis meilisearch --verbose
|
||||
|
||||
Reference in New Issue
Block a user