]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Make dev depend on build 4105/head
authorOlivier Mehani <shtrom@ssji.net>
Thu, 29 Aug 2019 11:27:56 +0000 (21:27 +1000)
committerOlivier Mehani <shtrom@ssji.net>
Thu, 29 Aug 2019 11:27:56 +0000 (21:27 +1000)
Also, run `npm install` before building.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
GNUmakefile

index a04468cb1a6a9704440aadb7eb27fdaef0f22fee..15d737db5099c13e0095179177d8efaf7271e849 100755 (executable)
@@ -16,13 +16,15 @@ install: ## Install wallabag with the latest version
 update: ## Update the wallabag installation to the latest version
        @./scripts/update.sh $(ENV)
 
-dev: ## Install the latest dev version
+dev: ENV=dev
+dev: build ## Install the latest dev version
        @./scripts/dev.sh
 
 run: ## Run the wallabag built-in server
        @php bin/console server:run --env=dev
 
 build: ## Run webpack
+       @npm install
        @npm run build:$(ENV)
 
 prepare: clean ## Prepare database for testsuite