diff --git a/.jshintrc b/.jshintrc index 741c370..4a25373 100644 --- a/.jshintrc +++ b/.jshintrc @@ -18,6 +18,7 @@ "trailing": true, "smarttabs": true, "jquery": true, + "sub": true, "predef": [ // Third-Party "_", diff --git a/.travis.yml b/.travis.yml index 244b7e8..8975f45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,8 @@ language: node_js node_js: - '0.10' +before_install: +- gem update --system +- gem install sass --version '=3.2.12' +- gem install compass --version '=0.12.2' +- npm install -g grunt-cli diff --git a/Gruntfile.js b/Gruntfile.js index ef0ea9b..5aed490 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -137,9 +137,6 @@ module.exports = function (grunt) { } }, - - - // Compiles Sass to CSS and generates necessary files if requested compass: { options: { @@ -187,7 +184,8 @@ module.exports = function (grunt) { 'bower-install': { app: { html: '<%= yeoman.app %>/index.html', - ignorePath: '<%= yeoman.app %>/' + ignorePath: '<%= yeoman.app %>/', + exclude: ['<%= yeoman.app %>/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap.js'] } }, @@ -198,7 +196,7 @@ module.exports = function (grunt) { src: [ '<%= yeoman.dist %>/scripts/{,*/}*.js', '<%= yeoman.dist %>/styles/{,*/}*.css', - '<%= yeoman.dist %>/images/{,*/}*.{gif,jpeg,jpg,png,webp}', + '<%= yeoman.dist %>/images/{,*/}*', '<%= yeoman.dist %>/styles/fonts/{,*/}*.*' ] } @@ -218,7 +216,7 @@ module.exports = function (grunt) { // Performs rewrites based on rev and the useminPrepare configuration usemin: { options: { - assetsDirs: ['<%= yeoman.dist %>'] + assetsDirs: ['<%= yeoman.dist %>', '<%= yeoman.dist %>/images'] }, html: ['<%= yeoman.dist %>/{,*/}*.html'], css: ['<%= yeoman.dist %>/styles/{,*/}*.css'] @@ -303,10 +301,10 @@ module.exports = function (grunt) { src: [ '*.{ico,png,txt}', '.htaccess', - 'images/{,*/}*.webp', + 'images/{,*/}*', '{,*/}*.html', 'styles/fonts/{,*/}*.*', - 'bower_components/' + (this.includeCompass ? 'sass-' : '') + 'bootstrap/' + (this.includeCompass ? 'fonts/' : 'dist/fonts/') +'*.*' + 'bower_components/bootstrap/vendor/assets/fonts/bootstrap/fonts/*.*' ] }] }, diff --git a/app/index.html b/app/index.html index 3174488..e70ceed 100644 --- a/app/index.html +++ b/app/index.html @@ -13,12 +13,13 @@ - + - + + @@ -44,6 +45,14 @@

TasteMusic

Share Your Music

+ Play Track + + +
+
+
+
+

List of Tracks