Skip to content
Permalink
Browse files

Rename skeleton application as part of its setup

  • Loading branch information
s4nchez committed Jul 7, 2017
1 parent 1a3b7fc commit 789fb98fa8d3be1880a9ae66dddfd8405f4ad1b1
Showing with 3 additions and 3 deletions.
  1. +3 −3 create-app.sh
@@ -127,7 +127,7 @@ function encrypt_heroku_key {
echo "Failed to retrieve TravisCI key."
exit -1
fi
echo -n ${HEROKU_API_KEY} | openssl rsautl -encrypt -pubin -inkey ${TEMP_FILE} | base64 || echo "Failed to encrypt using ${TEMP_FILE}"
echo -n ${HEROKU_API_KEY} | openssl rsautl -encrypt -pubin -inkey ${TEMP_FILE} | base64
}

function clone_skeleton {
@@ -138,8 +138,8 @@ function clone_skeleton {
cd ${REPO_DIR}
git remote rm origin
git remote add origin "git@github.com:${GITHUB_USERNAME}/${NAME}.git"
sed -i '' "s/rootProject.name = '.*'/rootProject.name = '${NAME}'/g" settings.gradle
git commit -am"Rename gradle project" &> /dev/null
${REPO_DIR}/rename.sh "${NAME}"
git commit -am"Rename application" &> /dev/null
}

function check_existing_dir {

0 comments on commit 789fb98

Please sign in to comment.
You can’t perform that action at this time.