diff --git a/Makefile b/Makefile index 5e981b7e..6a6550a1 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,9 @@ frontend: phony frontend/node_modules cd plugins/registry; make builtin; make frontend heedy: backend/main.go phony # gencode +ifeq ($(shell which statik),) + go get github.com/rakyll/statik +endif statik -src=./assets -dest=./backend -p assets -f cd backend; $(GO) build --tags "sqlite_foreign_keys json1 sqlite_preupdate_hook" -o ../heedy -ldflags "-X \"github.com/heedy/heedy/backend/buildinfo.BuildTimestamp=`date -u '+%Y-%m-%d %H:%M:%S'`\" -X github.com/heedy/heedy/backend/buildinfo.GitHash=`git rev-parse HEAD` -X github.com/heedy/heedy/backend/buildinfo.Version=$(VERSION)" rm ./backend/assets/statik.go diff --git a/api/python/requirements.txt b/api/python/requirements.txt index ae304ab3..b81d09a8 100644 --- a/api/python/requirements.txt +++ b/api/python/requirements.txt @@ -5,4 +5,6 @@ pytest-aiohttp pytest-cov pytest-timeout +numpy +aiohttp dateparser \ No newline at end of file