mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-04 22:02:26 +08:00
28 lines
349 B
Makefile
28 lines
349 B
Makefile
.PHONY: demo build swag
|
|
|
|
tag=`git describe --abbrev=0 --tags`
|
|
|
|
swag:
|
|
@scripts/swag_init.sh
|
|
|
|
_app:
|
|
@scripts/new_app.sh
|
|
|
|
# below you should write
|
|
|
|
# run eiblog app
|
|
eiblog:
|
|
@scripts/run_app.sh eiblog
|
|
|
|
# run backup app
|
|
backup:
|
|
@scripts/run_app.sh backup
|
|
|
|
# dist tar
|
|
dist:
|
|
@scripts/dist_tar.sh $(tag)
|
|
|
|
# protoc
|
|
protoc:
|
|
@cd pkg/proto && make protoc
|