Closed smacker closed 5 years ago
It's tested this locally, and for me make build
& make serve
fail if the dir ./server/asset
does not exist.
When the dir exists, make serve
works, but make packages
creates a bin serving the 501 errors.
thanks for testing! I'll re-test with a clean state.
Also if it's not too complex it would be good to test it in travis. Maybe a make packages
, run the bin in the background, and then check the wget localhost:port
exit code.
good idea! 👍
mkdir -p
to make sure directory always existsmake packages
. This command and make build
on clean repository generate correct binary with assets included./
pathasset.go
was changed in masterpretty good idea adding integration tests ! :tada:
fix #192
Now it works the same as any other apps project. I also replaced bindata with esc.
static_files_dev.go
&static_files.go
are 100% copy-paste from lookout-web.Makefile still looks a bit strange but changing it is out of the scope.