Skip to content

twagoo/www-clarin-eu_src

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLARIN website custom Drupal 7 modules and themes

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.

Build process

The build.sh script does the following:

  1. Installs the less compresser/compiler (via npm)

  2. Retrieves the Drupal bootstrap theme

  3. Uses the 'less starter kit' from that theme as a template by copying it to the distribution directory ~/CLARIN_Horizon (the .git directory is removed later on)

  4. Overlays a fixed set of files from the sites/all/themes/CLARIN_Horizon directory (see script for details)

  5. Imports the bootstrap (LESS) sources into the distribution directory (replacing the existing boostrap directory)

  6. Overlays the variables.less file from the CLARIN base style onto the bootstrap source

  7. Compiles the root LESS file of this modified starter kit in the distribution directory to the main css/style.css file

  8. Compresses the entire distribution directory into a tarball ~/CLARIN_Horizon.tgz

About

Custom Drupal 7 modules and themes for CLARIN website

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 77.4%
  • HTML 12.2%
  • CSS 8.8%
  • JavaScript 0.8%
  • Python 0.5%
  • Ruby 0.2%
  • Other 0.1%