clean:
vagrant halt
vagrant destroy -f
+ kvmx stop
+ kvmx destroy
rm -rf vendor/drupal*
# Export configuration
# Upgrade drupal
upgrade-drupal:
- BASE=/vagrant/vendor drupal upgrade $(OLD) $(NEW)
+ BASE=$(DESTDIR) drupal upgrade $(OLD) $(NEW)
# Configure update hook on remote host
post_receive:
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"