From 33aede62f471afa072498a82df8c4ca53fbfb5ef Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Oct 2017 19:40:20 -0200 Subject: Drupal 8: minor Makefile changes --- templater | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'templater') diff --git a/templater b/templater index 402af36..66413fc 100755 --- a/templater +++ b/templater @@ -343,6 +343,36 @@ function templater_drupal8 { fi } +# GPLv3 License +function templater_gpl { + if [ ! -e "LICENSE" ]; then + __templater_echo "Setting up GPLv3 license..." + cp $DIRNAME/share/gpl/LICENSE . + else + __templater_echo "LICENSE already set" + fi +} + +# AGPLv3 License +function templater_agpl { + true +} + +# MIT License +function templater_mit { + true +} + +# Apache License +function templater_apache { + true +} + +# BSD License +function templater_bsd { + true +} + # Syntax check if [ -z "$PROJECT" ]; then echo "$BASENAME: create a new project folder and/or setup helper utilities" -- cgit v1.2.3