16 lines
343 B
Makefile
16 lines
343 B
Makefile
VERSION=`git describe --always`
|
|
|
|
build: build-api build-web
|
|
|
|
build-api:
|
|
-mkdir dist
|
|
make -C api personal_measure_api
|
|
tar czf dist/personal-measure-api-${VERSION}.tar.gz -C api personal_measure_api
|
|
|
|
build-web:
|
|
-mkdir dist
|
|
(cd web && npm run build)
|
|
tar czf dist/personal-measure-web-${VERSION}.tar.gz -C web/dist .
|
|
|
|
#deploy-api: build-api
|