Comment 3 for bug 897593

Revision history for this message
Andrew Nicols (dobedobedoh) wrote :

I've made a merge request on the scripts directory for this. See http://gitorious.org/mahara/mahara-scripts/merge_requests/2

This change modifies the build process slightly to generate a new .gitattributes directory and use the --worktree-attributes option to git archive when generating the archives.

When building the .gitattributes file it only includes tests directories (not files) containing a phpunit directory.

If a tests directory only contains a phpunit directory, the whole tests directory is excluded.
If a tests directory contains other contents, then only the phpunit tests is excluded.