vscode-ripgrep-dynamic
Version:
Downloads the ripgrep binary shipped in VS Code
35 lines (30 loc) • 735 B
JavaScript
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
coffee: {
glob_to_multiple: {
expand: true,
cwd: 'src',
src: ['*.coffee'],
dest: 'lib',
ext: '.js'
}
},
coffeelint: {
options: {
max_line_length: {
level: 'ignore'
}
},
src: ['src/**/*.coffee']
}})
grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.loadNpmTasks('grunt-shell')
grunt.loadNpmTasks('grunt-coffeelint')
grunt.registerTask('lint', ['coffeelint'])
grunt.registerTask('default', ['coffee', 'lint'])
grunt.registerTask('clean', function() {
var rm = require('rimraf').sync
rm('lib')
})
}