Commit 35c7f777 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 0c5f8e33
...@@ -15,14 +15,14 @@ module.exports = (grunt) => { ...@@ -15,14 +15,14 @@ module.exports = (grunt) => {
} }
grunt.initConfig({ grunt.initConfig({
clean: ["build2", "build3"], clean: ["build2", "build3", "build3-bundle", "build4-bundle"],
copy: { copy: {
app: { app: {
expand: true, expand: true,
options: { options: {
timestamp: true timestamp: true
}, },
src: ['package.json', 'README.txt', 'LICENSE.txt', 'main.js', 'apps.js', 'bundle.json', '*.tar.xz', 'index.html', 'css/**', 'font/**', 'js/**'], src: ['package.json', 'README.txt', 'LICENSE.txt', 'main.js', 'apps.js', 'index.html', 'css/**', 'font/**', 'js/**'],
dest: 'build2' dest: 'build2'
}, },
node_modules: { node_modules: {
...@@ -34,7 +34,7 @@ module.exports = (grunt) => { ...@@ -34,7 +34,7 @@ module.exports = (grunt) => {
src: ['node_modules/**', 'bin/**'], src: ['node_modules/**', 'bin/**'],
dest: 'build2' dest: 'build2'
}, },
'bundle': { bundle: {
expand: true, expand: true,
options: { options: {
timestamp: true timestamp: true
...@@ -130,7 +130,7 @@ module.exports = (grunt) => { ...@@ -130,7 +130,7 @@ module.exports = (grunt) => {
grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-electron'); grunt.loadNpmTasks('grunt-electron');
grunt.registerTask('build', ['clean', 'copy']); grunt.registerTask('build', ['clean', 'copy:app', 'copy:node_modules']);
grunt.registerTask('release', ['build'].concat(release_task)); grunt.registerTask('release', ['build'].concat(release_task));
grunt.registerTask('default', ['release']); grunt.registerTask('default', ['release']);
}; };
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment