I wrote the following grunt.js file
var _path = require('path'); module.exports = function (grunt) { var config = { }; function addProject(project) { grunt.helper('addProject', config, project); } addProject({ name:'mytest', type:'module', sourcePath:'../source', outputPath:'../test/', version : grunt.option('ver')||'0.1.0.0' }); grunt.registerTask('default', 'module closureCompiler'); grunt.initConfig(config); };
when I run it with a command in my bat bat module moduleCompiler, it gives an error saying
Running "sync" task >> No "sync" targets found. <WARN> Task "sync" failed. Use --force
What does it mean?
source share