Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
寻找 grunt 的基本介绍,所以我想知道最简单的 Gruntfile 是什么,它仍然可以让我grunt在命令行上运行并查看 grunt 进程是否正常工作。然后我可以从那里添加功能,但我想从头开始。
grunt
将产生输出的最简单的 grunt 文件(Gruntfile.coffee):
module.exports = (grunt) -> grunt.registerTask 'default', 'Try Logging', -> grunt.log.write('Running the default task')