mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
remove gruntfile
This commit is contained in:
parent
a0f856cff2
commit
d415ae0cbe
1 changed files with 0 additions and 41 deletions
|
@ -1,41 +0,0 @@
|
||||||
/*
|
|
||||||
* decaffeinate suggestions:
|
|
||||||
* DS102: Remove unnecessary code created because of implicit returns
|
|
||||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
||||||
*/
|
|
||||||
module.exports = function(grunt) {
|
|
||||||
grunt.initConfig({
|
|
||||||
coffee: {
|
|
||||||
unit_tests: {
|
|
||||||
expand: true,
|
|
||||||
cwd: "test/unit/coffee",
|
|
||||||
src: ["**/*.coffee"],
|
|
||||||
dest: "test/unit/js/",
|
|
||||||
ext: ".js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
clean: {
|
|
||||||
unit_tests: ["test/unit/js"]
|
|
||||||
},
|
|
||||||
|
|
||||||
mochaTest: {
|
|
||||||
unit: {
|
|
||||||
options: {
|
|
||||||
reporter: grunt.option('reporter') || 'spec',
|
|
||||||
grep: grunt.option("grep")
|
|
||||||
},
|
|
||||||
|
|
||||||
src: ["test/unit/js/**/*.js"]
|
|
||||||
}
|
|
||||||
}});
|
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-coffee');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
||||||
grunt.loadNpmTasks('grunt-mocha-test');
|
|
||||||
grunt.loadNpmTasks('grunt-execute');
|
|
||||||
grunt.loadNpmTasks('grunt-bunyan');
|
|
||||||
|
|
||||||
grunt.registerTask('compile:unit_tests', ['clean:unit_tests', 'coffee:unit_tests']);
|
|
||||||
return grunt.registerTask('test:unit', ['compile:unit_tests', 'mochaTest:unit']);
|
|
||||||
};
|
|
Loading…
Reference in a new issue