Zip/compress all structure that relates to the make css to a file - eg compile_css.zip and save that to the root dir
Then zip up the files for branch release
That way when someone downloads it and wants to use 'make css' they can unzip the compile_css.zip file over their mahara site and it will give them the bits to achieve this
One thing that gives me pause about this plan, is that our build tools are only really designed to work well on Linux. I can certainly see theme developers trying to do this on a Windows machine and getting hopelessly confused when "make" doesn't work, and they don't know how to install npm or gulp.
We don't want to get into the business of providing tech support for Windows, but maybe we could avoid the problem somewhat by putting a link in there somewhere that tells people to go a helpful (external) URL if they're on a non-Linux system. Like this one looks good: https://www.npmjs.com/package/npm
I initially thought that people could use the automatic ".zip" files that are generated by gitlab & github, to download the contents of the git repo without having to use git. See for instance: https://git.mahara.org/mahara/mahara/tags
In our release packaging script (release.sh) we were using this along with the "git archive" command to remove the build files from the final release zip file. However, when I rewrote release.sh to include the CSS build process, git archive was no longer suitable for our needs (because it will only include files that are committed into git) so I stopped using it. So, we may as well also remove .gitattributes, and that will make the automated ZIP archives suitable for this purpose, for future releases at least.
Okay, I've taken the liberty of removing the .gitattributes file from the master and 15.10_STABLE branches, as discussed in the previous comment. No code review necessary because this doesn't affect end users.
We will need to include in the zip file:
package.json theme/raw/ sass/
gulpfile.js
Makefile
htdocs/