mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-09-06 00:57:22 -04:00
cleanup makefile
This commit is contained in:
@@ -5,15 +5,16 @@ build:
|
|||||||
|
|
||||||
embed:
|
embed:
|
||||||
echo "embedding css and js into binary"
|
echo "embedding css and js into binary"
|
||||||
cp main.go gossa.go
|
cp src/main.go gossa.go
|
||||||
perl -pe 's/css_will_be_here/`cat style.css`/ge' -i gossa.go
|
perl -pe 's/css_will_be_here/`cat src\/style.css`/ge' -i gossa.go
|
||||||
perl -pe 's/js_will_be_here/`cat script.js`/ge' -i gossa.go
|
perl -pe 's/js_will_be_here/`cat src\/script.js`/ge' -i gossa.go
|
||||||
|
|
||||||
run:
|
run:
|
||||||
make build
|
make build
|
||||||
./gossa fixture
|
./gossa fixture
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
|
cd src
|
||||||
go fmt
|
go fmt
|
||||||
go vet
|
go vet
|
||||||
timeout 5 make run &
|
timeout 5 make run &
|
||||||
|
|||||||
Reference in New Issue
Block a user