This repository has been archived on 2023-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-buildbot/Gruntfile.js
Francesco Siddi 96b04687a2 Initial UI cleanup
- added assets_shared submodule
- added support for grunt
- cleanup of layout.html
2015-06-14 21:57:08 +02:00

32 lines
843 B
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
style: 'compressed'
},
files: {
'public_html/assets/css/main.css': 'public_html/assets/sass/main.sass'
}
}
},
autoprefixer: {
no_dest: { src: 'public_html/assets/css/main.css' }
},
watch: {
files: ['public_html/assets/sass/main.sass'],
tasks: ['sass', 'autoprefixer'],
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['sass', 'autoprefixer', 'watch']);
};