First merge from develop to main (WIP) #7
@@ -34,7 +34,7 @@
|
||||
exec = "bun run dev";
|
||||
cwd = "./client";
|
||||
};
|
||||
backend.exec = "just dev-back";
|
||||
backend.exec = "just watch-back";
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
5
justfile
5
justfile
@@ -33,8 +33,11 @@ run-back:
|
||||
test-back:
|
||||
cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} GO_ENV=test go test -C .. ./...
|
||||
|
||||
dev-back: clean
|
||||
watch-back: clean
|
||||
watchexec -r -e go,yaml,tpl -i '.devenv/**' -i '.direnv/**' -i 'client/**' -i 'vendor/**' 'go build -o {{ join(output_dir, "nixcn-cms") }} . && cd {{ output_dir }} && CONFIG_PATH={{ output_dir }} {{ exec_path }}'
|
||||
|
||||
dev:
|
||||
devenv up --verbose
|
||||
|
||||
dev-back:
|
||||
devenv up backend postgres redis meilisearch --verbose
|
||||
|
||||
Reference in New Issue
Block a user