-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplified and improved external dependency management
- Loading branch information
EsGeh
authored and
EsGeh
committed
May 23, 2019
1 parent
05524c5
commit f23c54f
Showing
8 changed files
with
25 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../dependencies/tei-schema |
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,8 +1,7 @@ | ||
#!/bin/bash | ||
|
||
BASE_DIR=$(dirname $0)/.. | ||
TEI_DIR=$BASE_DIR/tei | ||
DEP_DIR=$BASE_DIR/dependencies | ||
|
||
rm -rf "$TEI_DIR" | ||
rm -rf "$DEP_DIR" | ||
$BASE_DIR/scripts/clean_output.sh | ||
rm -rf $BASE_DIR/schema/tei |
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,23 +1,22 @@ | ||
#!/bin/bash | ||
|
||
BASE_DIR=$(dirname $0)/.. | ||
TEI_DIR=$BASE_DIR/tei | ||
DEP_DIR=$BASE_DIR/dependencies | ||
|
||
mkdir -vp "$DEP_DIR" | ||
|
||
# download TEI repositories: | ||
mkdir -vp "$TEI_DIR" | ||
cd "$TEI_DIR" | ||
|
||
git clone https://github.com/TEIC/TEI.git | ||
cd "$DEP_DIR" | ||
git clone https://github.com/TEIC/TEI.git | ||
git clone https://github.com/TEIC/Stylesheets.git | ||
cd .. | ||
|
||
# download some schemata from TEI: | ||
mkdir -p $BASE_DIR/schema/tei/rnc | ||
mkdir -p $BASE_DIR/schema/tei/rng | ||
mkdir -p $BASE_DIR/schema/tei/odd | ||
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rnc > $BASE_DIR/schema/tei/rnc/tei_all.rnc | ||
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rng > $BASE_DIR/schema/tei/rng/tei_all.rng | ||
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml > $BASE_DIR/schema/tei/odd/p5subset.xml | ||
mkdir -p tei-schema/rnc | ||
mkdir -p tei-schema/rng | ||
mkdir -p tei-schema/odd | ||
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rnc > "tei-schema/rnc/tei_all.rnc" | ||
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rng > "tei-schema/rng/tei_all.rng" | ||
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml > "tei-schema/odd/p5subset.xml" | ||
|
||
$(realpath $BASE_DIR)/scripts/updateOutput.sh |
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