mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 21:23:39 +00:00
extract commit update js into a separate file
This commit is contained in:
5
Makefile
5
Makefile
@@ -26,10 +26,13 @@ deps:
|
||||
go get github.com/mattn/go-sqlite3
|
||||
go get github.com/russross/meddler
|
||||
|
||||
embed:
|
||||
embed: js
|
||||
cd cmd/droned && rice embed
|
||||
cd pkg/template && rice embed
|
||||
|
||||
js:
|
||||
cd cmd/droned/assets && find js -name "*.js" ! -name '.*' ! -name "main.js" -exec cat {} \; > js/main.js
|
||||
|
||||
build:
|
||||
cd cmd/drone && go build -o ../../bin/drone
|
||||
cd cmd/droned && go build -o ../../bin/droned
|
||||
|
Reference in New Issue
Block a user