Syntax changes in front and back end dirs. These do not affect functionality and are purely intended to better capture and describe the app's functionality and purpose
This commit is contained in:
6
Makefile
6
Makefile
@@ -20,7 +20,7 @@ fmt-check:
|
||||
check: test lint fmt-check
|
||||
|
||||
docker:
|
||||
docker build -t notebook-clone .
|
||||
docker build -t source-sentinel .
|
||||
|
||||
hooks:
|
||||
printf '#!/usr/bin/env bash\nset -euo pipefail\nmake check\n' > .git/hooks/pre-commit
|
||||
@@ -28,12 +28,12 @@ hooks:
|
||||
|
||||
dev:
|
||||
@echo "Starting backend and frontend..."
|
||||
cd $(SERVER_DIR) && node src/index.js &
|
||||
cd $(SERVER_DIR) && npx --no-install tsx src/index.ts &
|
||||
cd $(WEB_DIR) && npx --no-install vite --port 5173 &
|
||||
wait
|
||||
|
||||
run:
|
||||
cd $(SERVER_DIR) && node src/index.js
|
||||
cd $(SERVER_DIR) && npx --no-install tsx src/index.ts
|
||||
|
||||
build:
|
||||
cd $(WEB_DIR) && npx --no-install vite build
|
||||
|
||||
Reference in New Issue
Block a user