大佬教程收集整理的这篇文章主要介绍了gruntjs – grunt没有发现目标问题,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
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); };
当我在我的bat文件模块closureCompiler sync中使用命令运行它时,它会出错
Running "sync" task >> No "sync" targets found. <WARN> Task "sync" Failed. Use --force
这是什么意思?
以上是大佬教程为你收集整理的gruntjs – grunt没有发现目标问题全部内容,希望文章能够帮你解决gruntjs – grunt没有发现目标问题所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。