Skip to content

Commit

Permalink
fixed issue in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Oct 7, 2015
1 parent 98e9590 commit 9b843a4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: vendor
.PHONY: vendor docs

PACKAGES = $(shell go list ./... | grep -v /vendor/)

Expand All @@ -22,6 +22,8 @@ gen: gen_static gen_template gen_migrations

gen_static:
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

gen_template:
Expand All @@ -48,3 +50,9 @@ deb:

vendor:
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/

0 comments on commit 9b843a4

Please sign in to comment.