restore mock file for frontend dist,
changed makefile for build run build-all.sh
This commit is contained in:
3
Makefile
3
Makefile
@ -6,7 +6,8 @@ frontend-build:
|
||||
backend-build:
|
||||
go build -o ./bin/supervisor ./cmd/supervisor
|
||||
|
||||
build: frontend-build backend-build
|
||||
build:
|
||||
./scripts/build-all.sh
|
||||
|
||||
run: build
|
||||
./bin/supervisor
|
||||
|
||||
@ -10,3 +10,5 @@ cd "$ROOT_DIR"
|
||||
go build -o "$ROOT_DIR/bin/supervisor" ./cmd/supervisor
|
||||
|
||||
echo "Built binary: $ROOT_DIR/bin/supervisor"
|
||||
|
||||
git restore --source=HEAD --worktree -- "$ROOT_DIR/internal/static/dist/index.html"
|
||||
|
||||
Reference in New Issue
Block a user