Closed jessehs closed 10 years ago
I wonder if just doing a temporary git clone of the needed components (into the right directory, obvi) would be faster for this? We just need the correct directory structure to be in place when the compass extension spins up the theme. Subsequent rebuild could then just overwrite it.
The script already makes a backup, so it might be possible to do some more switching. The main reason for the immediate destruction (eg, the --clean
flag) is for phpcs tests on Jenkins (so it doesn't run them against contrib).
I just used drush make
with the --projects
an d --libraries
switches to just build alphecca and bedrock. Fixed here: https://github.com/opensourcery/turnip/commit/9e4465037e178d85429a7351b97bee57731b98eb
I'm typing this as I'm waiting for a build to complete locally. (I've got down time.) If we ran the drush make process in a temporary directory like 'building' or something, then I could still do development tasks using the existing 'drupal' directory. When the build is complete, the rebuild script could then destroy the existing drupal directory and move the newly built one into place over it.