feat(ui): add changelog view
This commit is contained in:
9
Makefile
9
Makefile
@ -1,15 +1,18 @@
|
||||
MAKEFLAGS += -j2
|
||||
|
||||
export PORT = 8080
|
||||
dev: export PORT = 8080
|
||||
|
||||
dev: dev-server dev-view
|
||||
|
||||
dev-server:
|
||||
cd server && gin run main.go
|
||||
cd server && gin -p $$PORT run main.go
|
||||
dev-view:
|
||||
cd view && npm run dev
|
||||
|
||||
build: build-view
|
||||
|
||||
build-view:
|
||||
cd view && npm i && npm run build
|
||||
cd view && npm i && npm run build
|
||||
|
||||
git-json:
|
||||
echo "[$$(git log --pretty=format:'{"id":"%h","subject":"%s","date":"%cD"},')]" | sed "s/,]/]/g" > view/public/build/commits.json
|
Reference in New Issue
Block a user