justlog/Makefile
2020-01-31 23:05:56 +01:00

30 lines
350 B
Makefile

build:
go build
full: build_web build_swagger build
full_run: full run
run:
./justlog
run_web:
cd web && yarn start
build_swagger:
swag init
build_web: get_web
cd web && npm run build
go run api/assets.go
get_web:
cd web && npm install
# Docker stuff
container:
docker build -t gempir/justlog .
release:
docker push gempir/justlog