mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 04:40:11 +00:00
fixed issue in Makefile
This commit is contained in:
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/
|
||||||
|
Reference in New Issue
Block a user