         jshintrc: '.jshintrc'
       main:
         files:
-          src: ['uglify-save-license.js']
+          src: [MAIN]
       test:
         files:
           src: '<%= nodeunit.all %>'

            match: "#{ new Date().getFullYear() - 1 }"
            replacement: "#{ new Date().getFullYear() }"
          ]
        files:
          'uglify-save-license.js': ['uglify-save-license.js']
    
    uglify:
      options:
        preserveComments: ->
          args = grunt.util.toArray arguments
          require('./uglify-save-license.js') args...
      fixture:
        files: [
          expand: true

  semver = require 'semver'
  
  pkg = grunt.file.readJSON 'package.json'
  MAIN = pkg.main
  
  getNextVersion = ->
    currentVer = pkg.version
