Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 23, 2016
2 parents 60126de + aa4bf7a commit 874a681
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 583 deletions.
24 changes: 22 additions & 2 deletions core/src/plugins/access.ajxp_home/Gruntfile.js
Expand Up @@ -15,6 +15,18 @@ module.exports = function(grunt) {
]
}
},
less: {
development: {
options: {
compress: true,
yuicompress: true,
optimization: 2
},
files: {
"res/home.css": "res/home.less"
}
}
},
watch: {
js: {
files: [
Expand All @@ -24,11 +36,19 @@ module.exports = function(grunt) {
options: {
spawn: false
}
},
styles: {
files: ['res/*.less'],
tasks: ['less'],
options: {
nospawn: true
}
}
}
});
grunt.loadNpmTasks('grunt-babel');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['babel']);
grunt.loadNpmTasks('assemble-less');
grunt.registerTask('default', ['babel', 'less', 'watch']);

};
};
3 changes: 2 additions & 1 deletion core/src/plugins/access.ajxp_home/package.json
Expand Up @@ -12,6 +12,7 @@
"devDependencies": {
"grunt": "~0.4.5",
"grunt-babel": "~5.0.3",
"grunt-contrib-watch": "~0.6.1"
"grunt-contrib-watch": "~0.6.1",
"assemble-less": "~0.7.0"
}
}

0 comments on commit 874a681

Please sign in to comment.