aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorSimounet <contact@simounet.net>2020-01-29 22:26:00 +0100
committerSimounet <contact@simounet.net>2020-02-07 13:21:48 +0100
commit33e3eeaec851158289e1a236cfe08a475cc6364a (patch)
tree0cb4c3b64622bfcc818026d667ee3b286644bd19 /GNUmakefile
parent62107f50d3b43039a635dcaecce317ef0299ee1f (diff)
downloadwallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.tar.gz
wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.tar.zst
wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.zip
Load custom.css only if exists
Diffstat (limited to 'GNUmakefile')
-rwxr-xr-xGNUmakefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 837f7103..d0894dbb 100755
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -17,14 +17,14 @@ help: ## Display this help menu
17clean: ## Clear the application cache 17clean: ## Clear the application cache
18 rm -rf var/cache/* 18 rm -rf var/cache/*
19 19
20install: customcss ## Install wallabag with the latest version 20install: ## Install wallabag with the latest version
21 @./scripts/install.sh $(ENV) 21 @./scripts/install.sh $(ENV)
22 22
23update: ## Update the wallabag installation to the latest version 23update: ## Update the wallabag installation to the latest version
24 @./scripts/update.sh $(ENV) 24 @./scripts/update.sh $(ENV)
25 25
26dev: ENV=dev 26dev: ENV=dev
27dev: build customcss ## Install the latest dev version 27dev: build ## Install the latest dev version
28 @./scripts/dev.sh 28 @./scripts/dev.sh
29 29
30run: ## Run the wallabag built-in server 30run: ## Run the wallabag built-in server
@@ -34,9 +34,6 @@ build: ## Run webpack
34 @npm install 34 @npm install
35 @npm run build:$(ENV) 35 @npm run build:$(ENV)
36 36
37customcss:
38 @touch web/custom.css
39
40prepare: clean ## Prepare database for testsuite 37prepare: clean ## Prepare database for testsuite
41ifdef DB 38ifdef DB
42 cp app/config/tests/parameters_test.$(DB).yml app/config/parameters_test.yml 39 cp app/config/tests/parameters_test.$(DB).yml app/config/parameters_test.yml