     run "git push origin gh-pages"
     run "git push --tags"
 
+  shell = require 'shelljs'
   run = (command) ->
     grunt.log.write "Running `#{command}`..."
     p = shell.exec(command, silent: true)

      grunt.log.error()
      grunt.log.error(p.output)
      grunt.warn "Non-zero exit code for `#{command}`."

module.exports = (grunt) ->
  pkgFile = 'sieve.jquery.json'
  pkg = grunt.file.readJSON pkgFile

  # Project configuration.
  grunt.initConfig
    # Metadata.
    pkg: pkg
    basename: 'jquery.<%= pkg.name %>'
    headline: '<%= pkg.title || pkg.name %> v<%= pkg.version %>'
    copyright: '<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>'
