Gruntfile: Restructuring.2741/head
commit0914d68a0c5729ccf89ccec06dac51281041e424
authorTim Wienk <tim@wienk.name>
Sat, 3 Oct 2015 09:44:37 +0000 (3 11:44 +0200)
committerTim Wienk <tim@wienk.name>
Sat, 3 Oct 2015 09:44:37 +0000 (3 11:44 +0200)
tree39e6708cf0ea9b63d9222314bda1b9419d520f3b
parent629fe909b65b15ef94d88384ad4f5486f02af269
Gruntfile: Restructuring.

Structure:
----------

Gruntfile.js:
- configuration of basic environment;
- loading files with more specific options;
- loading tasks.

Grunt/options/*.js:
- configuration options split by target.

Grunt/options/browsers.json:
- browsers used as customLaunchers for karma.

Grunt/plugins/*:
- plugins used in/by the grunt tasks.

Grunt/tasks/*:
- registration of tasks.

Notable changes:
----------------

Gruntfile API:

- renamed "all" and "default" builds to the more clear "compat";
- new "travis" task, takes care of travis specific stuff;
- new "test" task, runs all tests (including server tests);
- new "default" task, runs either the "travis" or "test" task.

Other changes:

- built files now end up in a "build" directory (or "dist", of course);
- removed server-tests.js in favour of grunt-mocha-test package;
- updated the browser list (most notably: added edge);
- updated .travis.yml to use updated browser list;
- updated .travis.yml to use new "compat" build, instead of "default";
- moved syn karma-plugin into Grunt directory;
- updated and cleaned up .gitignore;
- removed no longer used packages from .package.json;
- updated README.md (some parts were actuall already out of date).
20 files changed:
.gitignore
.travis.yml
Grunt/options/browsers.json [new file with mode: 0644]
Grunt/options/build.js [new file with mode: 0644]
Grunt/options/dist.js [new file with mode: 0644]
Grunt/options/options.js [new file with mode: 0644]
Grunt/options/specs.js [new file with mode: 0644]
Grunt/plugins/karma/syn/index.js [moved from Tests/Plugins/syn/index.js with 89% similarity]
Grunt/plugins/karma/syn/lib/syn.js [moved from Tests/Utilities/syn.js with 100% similarity]
Grunt/plugins/karma/syn/post-amd.js [moved from Tests/Plugins/syn/post-amd.js with 100% similarity]
Grunt/plugins/karma/syn/pre-amd.js [moved from Tests/Plugins/syn/pre-amd.js with 100% similarity]
Grunt/tasks/tasks.js [new file with mode: 0644]
Gruntfile.js
README.md
Tests/browsers.json [deleted file]
Tests/dist-tasks.json [deleted file]
Tests/gruntfile-options.js [deleted file]
Tests/server-tests.js [deleted file]
package.json
prepare-release