-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alex Skrypnyk <alex@drevops.com>
- Loading branch information
1 parent
4c73730
commit 4866b15
Showing
17 changed files
with
78 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CIVICTHEME_CONTENT_PROFILE=corporate | ||
CIVICTHEME_SKIP_GENERATED_CONTENT_CREATE=1 | ||
CIVICTHEME_SKIP_SUBTHEME_ACTIVATION=1 | ||
CIVICTHEME_SKIP_LIBRARY_INSTALL=1 | ||
CIVICTHEME_GENERATED_CONTENT_CREATE_SKIP=1 | ||
CIVICTHEME_SUBTHEME_ACTIVATION_SKIP=1 | ||
CIVICTHEME_LIBRARY_INSTALL_SKIP=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CIVICTHEME_CONTENT_PROFILE=government | ||
CIVICTHEME_SKIP_GENERATED_CONTENT_CREATE=1 | ||
CIVICTHEME_SKIP_SUBTHEME_ACTIVATION=1 | ||
CIVICTHEME_SKIP_LIBRARY_INSTALL=1 | ||
CIVICTHEME_GENERATED_CONTENT_CREATE_SKIP=1 | ||
CIVICTHEME_SUBTHEME_ACTIVATION_SKIP=1 | ||
CIVICTHEME_LIBRARY_INSTALL_SKIP=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CIVICTHEME_CONTENT_PROFILE=highereducation | ||
CIVICTHEME_SKIP_GENERATED_CONTENT_CREATE=1 | ||
CIVICTHEME_SKIP_SUBTHEME_ACTIVATION=1 | ||
CIVICTHEME_SKIP_LIBRARY_INSTALL=1 | ||
CIVICTHEME_GENERATED_CONTENT_CREATE_SKIP=1 | ||
CIVICTHEME_SUBTHEME_ACTIVATION_SKIP=1 | ||
CIVICTHEME_LIBRARY_INSTALL_SKIP=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
## | ||
# Enable other modules. | ||
# | ||
# shellcheck disable=SC2086 | ||
|
||
set -e | ||
[ -n "${DREVOPS_DEBUG}" ] && set -x | ||
|
||
# Path to the application. | ||
APP="${APP:-/app}" | ||
|
||
# ------------------------------------------------------------------------------ | ||
|
||
# Use local or global Drush, giving priority to a local drush. | ||
drush="$(if [ -f "${APP}/vendor/bin/drush" ]; then echo "${APP}/vendor/bin/drush"; else command -v drush; fi)" | ||
|
||
if [ "${DREVOPS_DRUPAL_PROFILE}" = "govcms" ]; then | ||
echo " > Remove GovCMS configs." | ||
$drush -y pm-enable civictheme_govcms | ||
$drush civictheme_govcms:remove-config | ||
else | ||
echo " > Enable Admin module." | ||
$drush -y pm-enable civictheme_admin | ||
fi | ||
|
||
echo " > Enable development module." | ||
$drush -y pm-enable civictheme_dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters