-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pre Jekyll build step generating the static schema pages
The generate_schemas script fetches the XSD and XSLT files from the tag of the ome-model specified in the top-level configuration file, generates the landing pages and publication layout and move them under Schemas.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 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,9 @@ | ||
#! /bin/sh | ||
# Generate static schema pages from the ome-model specifications | ||
|
||
|
||
version=$(awk '/omemodel/{getline; print $0}' _config.yml | sed "s/ version: //") | ||
git clone git://github.com/ome/ome-model -b v$version | ||
(cd ome-model/specification && sh publish) | ||
mv ome-model/specification/target/published Schemas | ||
rm -rf ome-model |