Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Updated to the latest project-grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Karl committed Jan 28, 2015
1 parent 8abf430 commit cb6de49
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nw-init",
"version": "0.0.9",
"version": "0.1.0",
"description": "Provides scaffolding for node-webkit applications",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion template_source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.1",
"dependencies": {
"grunt": "~0.4.5",
"project-grunt": "~0.5.0",
"project-grunt": "*",
"grunt-node-webkit-builder": "~0.2.2",
"grunt-exec": "~0.4.6"
}
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions template_source/tasks/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ module.exports = {
cmd: 'makensis <%= installerDir %>/win.nsi'
},
createOSXInstall: {
cmd: 'appdmg <%= installerDir %>/osx.json <%= buildDir %>/<%= build.name %>-Setup.dmg'
cmd: 'appdmg <%= installerDir %>/osx.json <%= buildDir %>/<%= project.name %>-Setup.dmg'
},
openOSXApp : {
cmd: 'open <%= buildDir %>/<%= build.name %>/osx/<%= build.name %>.app'
cmd: 'open <%= buildDir %>/<%= project.name %>/osx/<%= project.name %>.app'
}
};
2 changes: 1 addition & 1 deletion template_source/tasks/overrides/clean.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
installers: ['<%= buildDir %>/<%= build.name %>-Setup.*']
installers: ['<%= buildDir %>/<%= project.name %>-Setup.*']
};
2 changes: 1 addition & 1 deletion template_source/tasks/overrides/uglify.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
main: {
files: {
'<%= jsFolder %>/main.js': '<%= build.js.main %>'
'<%= jsFolder %>/main.js': '<%= project.js.main %>'
},
options: {
compress: {
Expand Down
4 changes: 2 additions & 2 deletions template_source/tasks/overrides/watch.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
css: {
files: [
'<%= build.css.main %>',
'<%= build.file %>',
'<%= project.css.main %>',
'<%= project.file %>',
'src/less/**/*.less'
],
tasks: [
Expand Down

0 comments on commit cb6de49

Please sign in to comment.