UNPKG

grunt-drush

Version:
44 lines (35 loc) 743 B
/* * grunt-drush * https://github.com/nickpack/grunt-drush * * Copyright (c) 2013 Nick Pack * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { grunt.initConfig({ jshint: { all: [ 'Gruntfile.js', 'tasks/*.js' ], options: { jshintrc: '.jshintrc', }, }, drush: { version: { args: ['--version'] }, install: { args: ['make', 'example/core.make'], dest: 'src' } } }); grunt.loadTasks('tasks'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-clean'); grunt.registerTask('test', ['drush']); grunt.registerTask('default', ['jshint', 'test']); };