 'use strict'
+
+mozjpeg = require('imagemin-mozjpeg')
 
 module.exports = (grunt) ->
   grunt.loadNpmTasks 'grunt-contrib-connect'

    'watch'
  ]
  grunt.registerTask 'test', [ 'csslint', 'htmllint' ]
  grunt.registerTask 'new', [ 'exec:new_post' ]
  grunt.registerTask 'default', [ 'serve' ]

  grunt.registerTask 'set_environment', ->

      aliasFeed:
        cmd: 'cp _site/atom.xml _site/rss.xml'

      # new_post:
      #   cmd: './_helpers/new-post.sh'

      status:
        cmd: "clear && echo the site is now accessible at http://localhost:<%= connect.server.options.port %>"
