Skip to content

Commit

Permalink
Fix removed built package
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluiz committed Jun 17, 2016
1 parent 975a2ff commit 90a3cf0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module.exports = function(grunt) {
grunt.registerTask('build-templates', ['clean:templates', 'internal-build-templates']);
grunt.registerTask('build-release', ['build', 'assetFingerprint']);

grunt.registerTask('build-composer', ['build-release', 'copy:composer']);
grunt.registerTask('build-composer', ['build-release', 'copy:composer', 'clean:output']);

grunt.registerTask('build-webjar', ['build-release', 'maven:webjars']);
grunt.registerTask('build-webjar', ['build-release', 'maven:webjars', 'clean:output']);
grunt.registerTask('install-webjar', ['build-release', 'maven:install', 'clean']);
grunt.registerTask('release-webjar', ['build-release', 'maven:release', 'clean']);

Expand All @@ -34,7 +34,6 @@ module.exports = function(grunt) {
grunt.registerTask('internal-build-images', ['copy:images', 'imagemin']);
grunt.registerTask('internal-build-assets', ['copy:assets', 'sass', 'postcss', 'uglify']);
grunt.registerTask('internal-build-templates', ['copy:templates', 'copy:others', 'json-refs', 'generate-html']);

};

function loadConfig(path) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commercetools-sunrise-theme",
"version": "0.59.0-SNAPSHOT",
"version": "0.58.1-SNAPSHOT",
"description": "Theme for commercetools Sunrise online shop",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions tasks/options/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ module.exports = {
// 'grunt-contrib-clean': remove files

output: [
'output/',
'composer/'
'output/'
],

images: [
Expand All @@ -25,7 +24,8 @@ module.exports = {
],

dist: [
'*.jar'
'*.jar',
'composer/'
]

}

1 comment on commit 90a3cf0

@lauraluiz
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @jayS-de

Please sign in to comment.