Merge branch 'master' into compendium-xsd

pull/166/head
Chris Jennewein 2021-08-04 21:13:25 -07:00 committed by GitHub
commit 963418bf8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 10 deletions

View File

@ -6,12 +6,9 @@ addons:
- xsltproc
before_install:
- rvm install 2.3.8
- gem install dropbox-deployment
script:
- xmlstarlet val -e FightClub5eXML/Sources/*.xml
- xmlstarlet val -e Collections/*.xml
- xmlstarlet val -e -s Utilities/collection.xsd Collections/*.xml
- xmlstarlet val -e -s Utilities/compendium.xsd FightClub5eXML/Sources/*.xml
- for i in Collections/*.xml; do xsltproc -o FightClub5eXML/$i Utilities/merge.xslt $i; done
after_success:
- if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]; then dropbox-deployment; else echo "Skip deploy for PR or Branch Validation"; fi

View File

@ -1,5 +1,9 @@
## CHANGE LOG
### 2021-08-04
Removed deployment to Dropbox.
### 2020-11-16
Replaced old sources with new sources.

View File

@ -5,9 +5,9 @@ Creating XML files of all official D&D sources compatible with Fight Club 5e and
## Usage
Final XML files are released on a [shared Dropbox](http://bit.ly/NewFCXml). If you're here to import the files into your app, please refer to the instructions in the link above.
If you're here to import the sources into your app, these files are not compatible with Fight Club by themselves. Dropbox no longer hosts the compiled compendiums, so it must be built manually with the instructions below or found somewhere else.
This repository is not an application in itself. But you can use it to build your own custom Compendium (see below).
This repository is not an application in itself, but you can use it to build your own custom Compendium (see below).
## Contributing
@ -19,7 +19,7 @@ If you'd like to contribute, feel free to fork the repository and submit pull re
* The XML files in the FightClub5eXML directory are Compendiums organized by source book.
* The files in Collections define which sources are merged into their own Compendium XML.
* When the master branch is updated, Travis CI validates the XML, builds the Compendiums, and deploys to Dropbox.
### Adding a Source

View File

@ -1,4 +0,0 @@
deploy:
dropbox_path: /FightClub5eXML # The path to the folder on Dropbox where the files will go
artifacts_path: ./FightClub5eXML # can be a single file, or a path
debug: true # if you want to see more logs