X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;h=3f4457c9a7e7e1eb6e18fce8adc7f5c04d9f8e2f;hb=4e9af3723740f16f3843a68508b6e933ea871b98;hp=51e17952643ba7310e1e49a1eb337a79c5db4391;hpb=4afc24d8b2894ca49035a4d5fa04ab2c91dc0ede;p=src%2Fxds%2Fxds-agent.git diff --git a/Makefile b/Makefile index 51e1795..3f4457c 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ SUB_VERSION := $(subst $(VERSION)-,,$(GIT_DESC)) ifeq ($(VERSION), ) VERSION := unknown-dev endif +ifeq ($(SUB_VERSION), ) + SUB_VERSION := $(shell date +'%Y-%m-%d_%H%M%S') +endif # Configurable variables for installation (default /opt/AGL/...) ifeq ($(origin DESTDIR), undefined) @@ -97,10 +100,10 @@ distclean: clean cd $(ROOT_SRCDIR) && rm -rf $(LOCAL_BINDIR) ./tools ./glide.lock ./vendor ./*.zip ./webapp/node_modules ./webapp/dist webapp: webapp/install - (cd webapp && gulp build) + (cd webapp && npm run build) webapp/debug: - (cd webapp && gulp watch &) + (cd webapp && npm run watch) webapp/install: (cd webapp && npm install)