         output: 'reports/mspec'
       specs:
         src: ['src/**/bin/Debug/*.Tests.dll']
+    nugetpack:
+      dist:
+        src: 'src/AutoGrid/AutoGrid.nuspec'
+        dest: '.'
 
-  grunt.task.registerTask 'banner', () -> 
+  grunt.task.registerTask 'banner', () ->
     console.log(grunt.file.read('banner.txt'))
 
   # grunt.loadNpmTasks 'grunt-exec'

module.exports = (grunt) -> 
  require('time-grunt')(grunt)

  grunt.initConfig

  grunt.loadNpmTasks 'grunt-dotnet-mspec'

  grunt.registerTask 'default', ['ci']
  grunt.registerTask 'ci', ['banner','assemblyinfo','nugetrestore','msbuild','mspec','nugetpack']

  null
