mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-10-28 07:40:00 -04:00
cleanup makefile
This commit is contained in:
1 parent
55678337b9
commit
1519350be5
5 files changed
+4
-3
No files matched your search
@@ -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 &
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user