-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- | ||
Target: default-content | ||
Installs default content for testing the site. | ||
--> | ||
<target name="default-content" description="Creates default site content for non-Hubb data."> | ||
<!-- Create demo content --> | ||
<trycatch property="install"> | ||
<try> | ||
<drush command="pm-enable" assume="yes"> | ||
<param>ioep23_default_content</param> | ||
</drush> | ||
</try> | ||
<catch> | ||
<echo>Content already imported.</echo> | ||
</catch> | ||
</trycatch> | ||
<trycatch property="uninstall"> | ||
<try> | ||
<!-- Uninstall the demo content modules --> | ||
<drush command="pm-uninstall" assume="yes"> | ||
<param>ioep23_default_content</param> | ||
<param>default_content</param> | ||
</drush> | ||
</try> | ||
<catch> | ||
<echo>Modules never enabled.</echo> | ||
</catch> | ||
</trycatch> | ||
</target> | ||
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,11 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
}, | ||
{ | ||
"path": "../../../../../sites/ioep23/web/modules/custom/ioep23_default_content" | ||
} | ||
], | ||
"settings": {} | ||
} |