From b1574a39877d69cdf54111b0fb108039c21eae5f Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Thu, 29 Aug 2019 21:27:56 +1000 Subject: Make dev depend on build Also, run `npm install` before building. Signed-off-by: Olivier Mehani --- GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index a04468cb..15d737db 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 -- cgit v1.2.3