diff options
author | Simounet <contact@simounet.net> | 2020-01-29 22:26:00 +0100 |
---|---|---|
committer | Simounet <contact@simounet.net> | 2020-02-07 13:21:48 +0100 |
commit | 33e3eeaec851158289e1a236cfe08a475cc6364a (patch) | |
tree | 0cb4c3b64622bfcc818026d667ee3b286644bd19 /GNUmakefile | |
parent | 62107f50d3b43039a635dcaecce317ef0299ee1f (diff) | |
download | wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.tar.gz wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.tar.zst wallabag-33e3eeaec851158289e1a236cfe08a475cc6364a.zip |
Load custom.css only if exists
Diffstat (limited to 'GNUmakefile')
-rwxr-xr-x | GNUmakefile | 7 |
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 | |||
17 | clean: ## Clear the application cache | 17 | clean: ## Clear the application cache |
18 | rm -rf var/cache/* | 18 | rm -rf var/cache/* |
19 | 19 | ||
20 | install: customcss ## Install wallabag with the latest version | 20 | install: ## Install wallabag with the latest version |
21 | @./scripts/install.sh $(ENV) | 21 | @./scripts/install.sh $(ENV) |
22 | 22 | ||
23 | update: ## Update the wallabag installation to the latest version | 23 | update: ## Update the wallabag installation to the latest version |
24 | @./scripts/update.sh $(ENV) | 24 | @./scripts/update.sh $(ENV) |
25 | 25 | ||
26 | dev: ENV=dev | 26 | dev: ENV=dev |
27 | dev: build customcss ## Install the latest dev version | 27 | dev: build ## Install the latest dev version |
28 | @./scripts/dev.sh | 28 | @./scripts/dev.sh |
29 | 29 | ||
30 | run: ## Run the wallabag built-in server | 30 | run: ## 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 | ||
37 | customcss: | ||
38 | @touch web/custom.css | ||
39 | |||
40 | prepare: clean ## Prepare database for testsuite | 37 | prepare: clean ## Prepare database for testsuite |
41 | ifdef DB | 38 | ifdef 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 |