use libsass, deprecate ruby, simplify installation (#4206)

* use libsass, deprecate ruby, simplify installation

* update installation instructions, readme formatting
This commit is contained in:
Jason Dreyzehner 2016-05-10 16:12:46 -04:00 committed by Gustavo Maximiliano Cortez
commit f1c03b8a49
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 37 additions and 50 deletions

View file

@ -1,5 +1,9 @@
'use strict';
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
// Project Configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
@ -82,7 +86,7 @@ module.exports = function(grunt) {
sourceMapStyle: 'link' // embed, link, inline
},
angular: {
src: [
src: [
'bower_components/qrcode-generator/js/qrcode.js',
'bower_components/qrcode-decoder-js/lib/qrcode-decoder.js',
'bower_components/moment/min/moment-with-locales.js',
@ -238,20 +242,6 @@ module.exports = function(grunt) {
}
});
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-angular-gettext');
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-exec');
grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-karma-coveralls');
grunt.loadNpmTasks('grunt-node-webkit-builder');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-string-replace');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('default', ['nggettext_compile', 'exec:version', 'exec:coinbase', 'browserify', 'sass', 'concat', 'copy:icons']);
grunt.registerTask('prod', ['default', 'uglify']);
grunt.registerTask('translate', ['nggettext_extract']);