Commit 4c1b46fc authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Rend le warning du customization bien visible.

... et ouvre la page de doc dans le navigateur.
parent 0f31f25e
No related merge requests found
Showing with 8 additions and 2 deletions
+8 -2
...@@ -46,8 +46,14 @@ ...@@ -46,8 +46,14 @@
"scripts": { "scripts": {
"post-install-cmd": "@customize-reminder", "post-install-cmd": "@customize-reminder",
"post-update-cmd": "@customize-reminder", "post-update-cmd": "@customize-reminder",
"post-create-project-cmd": "rm CUSTOMIZATION.md README.md LICENSE .docheader src/*.php tests/*.php", "post-create-project-cmd": [
"customize-reminder": "echo 'Ne pas oublier de configurer ce template, cf. https://gitlab.irstea.fr/pole-is/tools/php-skeleton/blob/master/CUSTOMIZATION.md'", "rm CUSTOMIZATION.md README.md LICENSE .docheader src/*.php tests/*.php",
"@customize-reminder"
],
"customize-reminder": [
"echo '\\e[1;5;37;41m\\n\\n\\tNe pas oublier de configurer ce template, cf. https://gitlab.irstea.fr/pole-is/tools/php-skeleton/blob/master/CUSTOMIZATION.md\\n\\e[0m\\n'",
"if test -x /usr/bin/sensible-browser -a -n \"$DISPLAY\"; then sensible-browser https://gitlab.irstea.fr/pole-is/tools/php-skeleton/blob/master/CUSTOMIZATION.md; fi"
],
"phploc": "vendor/bin/phploc src tests", "phploc": "vendor/bin/phploc src tests",
"format": "vendor/bin/php-cs-fixer fix", "format": "vendor/bin/php-cs-fixer fix",
"fix-cs": "@format", "fix-cs": "@format",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment