Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from NuCivic/dev-module-init
Browse files Browse the repository at this point in the history
Update dkan-module-init.sh
  • Loading branch information
Frank Carey committed Feb 19, 2016
2 parents b6522be + ea2f4b3 commit 6f25e88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dkan-module-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DKAN_MODULE="visualization_entity_maps"

# DKAN branch to use
DKAN_BRANCH="dev-dkan-ahoy-smarter"
DKAN_BRANCH="7.x-1.x"

COMPOSER_PATH=".composer/vendor/bin"

Expand All @@ -17,7 +17,7 @@ fi
wget -O /tmp/dkan-init.sh https://raw.githubusercontent.com/NuCivic/dkan/$DKAN_BRANCH/dkan-init.sh

# Make sure the download was at least successful.
if [ $? -ne 0] ; then
if [ $? -ne 0 ] ; then
echo ""
echo "[Error] Failed to download the dkan-init.sh script from github dkan. Branch: $DKAN_BRANCH . Perhaps someone deleted the branch?"
echo ""
Expand All @@ -27,11 +27,11 @@ fi
#Only stop on errors starting now..
set -e
# OK, run the script.
bash /tmp/dkan-init.sh $DKAN_MODULE $@ --skip-reinstall
bash /tmp/dkan-init.sh $DKAN_MODULE $@ --skip-reinstall --branch=$DKAN_BRANCH
ahoy dkan module-link $DKAN_MODULE
ahoy dkan module-make $DKAN_MODULE
ahoy dkan reinstall
ahoy drush en $DKAN_MODULE -y

#Fix for behat bug not recognizing symlinked feature files or files outside it's root. See https://jira.govdelivery.com/browse/CIVIC-1005
#Fix for behat bug not recognizing symlinked feature files or files outside it's root. See https://jira.govdelivery.com/browse/CIVIC-1005
#cp dkan_workflow/test/features/dkan_workflow.feature dkan/test/features/.

0 comments on commit 6f25e88

Please sign in to comment.