feat: implement WYSIWYG markdown editor with Go backend and React frontend
This commit is contained in:
32
Makefile
Normal file
32
Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
.PHONY: test
|
||||
|
||||
test:
|
||||
cd backend && go test ./test -v
|
||||
cd frontend && npm test
|
||||
|
||||
.PHONY: backend-test
|
||||
|
||||
backend-test:
|
||||
cd backend && go test ./test -v
|
||||
|
||||
.PHONY: frontend-test
|
||||
|
||||
frontend-test:
|
||||
cd frontend && npm test
|
||||
|
||||
.PHONY: build
|
||||
|
||||
build:
|
||||
cd backend && go build -o markdown-editor ./cmd/backend
|
||||
cd frontend && npm run build
|
||||
|
||||
.PHONY: run
|
||||
|
||||
run:
|
||||
cd backend && go run ./cmd/backend
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
clean:
|
||||
cd backend && go clean
|
||||
cd frontend && npm run clean
|
||||
Reference in New Issue
Block a user