fixed issue in Makefile
This commit is contained in:
parent
98e959095f
commit
9b843a4e17
1 changed files with 9 additions and 1 deletions
10
Makefile
10
Makefile
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: vendor
|
.PHONY: vendor docs
|
||||||
|
|
||||||
PACKAGES = $(shell go list ./... | grep -v /vendor/)
|
PACKAGES = $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@ gen: gen_static gen_template gen_migrations
|
||||||
|
|
||||||
gen_static:
|
gen_static:
|
||||||
mkdir -p static/docs_gen/api static/docs_gen/build
|
mkdir -p static/docs_gen/api static/docs_gen/build
|
||||||
|
mkdir -p static/docs_gen/api static/docs_gen/plugin
|
||||||
|
mkdir -p static/docs_gen/api static/docs_gen/setup
|
||||||
go generate github.com/drone/drone/static
|
go generate github.com/drone/drone/static
|
||||||
|
|
||||||
gen_template:
|
gen_template:
|
||||||
|
@ -48,3 +50,9 @@ deb:
|
||||||
|
|
||||||
vendor:
|
vendor:
|
||||||
vexp
|
vexp
|
||||||
|
|
||||||
|
docs:
|
||||||
|
mkdir -p /drone/tmp/docs
|
||||||
|
cp -a static/docs_gen/* /drone/tmp/docs/
|
||||||
|
cp -a static/styles_gen /drone/tmp/docs/
|
||||||
|
cp -a static/images /drone/tmp/docs/
|
||||||
|
|
Loading…
Reference in a new issue