diff options
Diffstat (limited to 'templater')
-rwxr-xr-x | templater | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -332,14 +332,14 @@ function templater_drupal8 { if [ ! -e "settings.dev.php" ]; then cp $DIRNAME/share/drupal8/default.settings.php settings.dev.php - cp $DIRNAME/share/drupal8/default.settings.php . + #cp $DIRNAME/share/drupal8/default.settings.php . fi ln -sf settings.dev.php settings.php if [ ! -e "services.yml" ]; then cp $DIRNAME/share/drupal8/default.services.yml services.dev.yml - cp $DIRNAME/share/drupal8/default.services.yml . + #cp $DIRNAME/share/drupal8/default.services.yml . fi ln -sf services.dev.yml services.yml @@ -433,6 +433,16 @@ function templater_wtfpl { fi } +# Contributor Covenant: A Code of Conduct for Open Source Projects +function templater_conduct { + if [ ! -e "CODE_OF_CONDUCT.md" ]; then + __templater_echo "Setting up Code of Conduct..." + cp $DIRNAME/share/conduct/CODE_OF_CONDUCT.md . + else + __templater_echo "Code of Conduct already set" + fi +} + # Syntax check if [ -z "$PROJECT" ]; then echo "$BASENAME: create a new project folder and/or setup helper utilities" |