0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-06-02 04:34:32 +02:00

Fix OpenWRT makefile Build/Compile step

Fixes #307
This commit is contained in:
peteruithoven 2016-05-10 15:21:49 +02:00
parent 4a3da30ebd
commit fbcdaad54a

View File

@ -43,11 +43,14 @@ define Build/Prepare
endef
define Build/Compile
npm install
# We're cd'in into the build dir manually so it
# runs these in the build dir, instead of the
# shared customfeeds folder
cd $(PKG_BUILD_DIR) && npm install
ifeq ($(CONFIG_DOODLE3D_CLIENT_MINIFY_JS),y)
grunt less autoprefixer cssmin concat uglify
cd $(PKG_BUILD_DIR) && grunt less autoprefixer cssmin concat uglify
else
grunt less autoprefixer cssmin concat
cd $(PKG_BUILD_DIR) && grunt less autoprefixer cssmin concat
endif
endef