       #   files: ['test/**/*.coffee']
       #   tasks: ['coffeelint:test']
 
-    clean: ['dist/']
+    clean:
+      compile: ['dist/']
+      build: ['build/']
 
     shell:
       bower_install:
         command: 'bower install'
       npm_install:
         command: 'cd dist && npm install --production && cd -'
+      osx64:
+        command: """
+          cp assets/icons/nw.icns builds/tdd-reminder/osx64/tdd-reminder.app/Contents/Resources/ &&
+          cp -r assets/icons/Icon builds/tdd-reminder/osx64/tdd-reminder.app/Contents/ &&
+          cd builds/tdd-reminder/osx64/ && zip -r tdd-reminder-osx64-v<%= pkg.version %>.zip *.app && cd -
+        """
+      osx32:
+        command: """
+          cp assets/icons/nw.icns builds/tdd-reminder/osx32/tdd-reminder.app/Contents/Resources/ &&
+          cp -r assets/icons/Icon builds/tdd-reminder/osx32/tdd-reminder.app/Contents/
+          cd builds/tdd-reminder/osx32/ && zip -r tdd-reminder-osx32-v<%= pkg.version %>.zip *.app && cd -
+        """
 
     nodewebkit:
       options:

        tasks: ['coffeelint:gruntfile']
      scripts:
        files: ['scripts/**/*.coffee']
        tasks: ['coffeelint:src', 'coffee:src']
      jade:
        files: ['markup/**/*.jade']
        tasks: ['jade']


  # tasks.
  grunt.registerTask 'compile', [
    'clean:compile'
    'coffee'
    'jade'
    'sass'
    'copy'
    'shell:bower_install'
    'shell:npm_install'
  ]

  # grunt.registerTask 'test', [
