This project produces the CLARIN Horizon subtheme for Drupal Bootstrap.
On every tagged commit, Travis CI runs build.sh and adds the produced artifacts to the respective release item on GitHub.
To edit the subtheme, please use your own fork of this repository.
Mind to enable Travis CI for that project on https://travis-ci.org/profile/YOUR_GITHUB_LOGIN.
Moreover, you have to have set the secret environment variable DEPLOY_OAUTH_TOKEN within the Travis CI project settings to the appropriate OAuth token.
The build.sh script does the following:
-
Installs the less compresser/compiler (via npm)
-
Retrieves the Drupal bootstrap theme
-
Uses the 'less starter kit' from that theme as a template by copying it to the distribution directory
~/CLARIN_Horizon(the.gitdirectory is removed later on) -
Overlays a fixed set of files from the
sites/all/themes/CLARIN_Horizondirectory (see script for details) -
Imports the bootstrap (LESS) sources into the distribution directory (replacing the existing
boostrapdirectory) -
Overlays the
variables.lessfile from the CLARIN base style onto the bootstrap source -
Compiles the root LESS file of this modified starter kit in the distribution directory to the main
css/style.cssfile -
Compresses the entire distribution directory into a tarball
~/CLARIN_Horizon.tgz