Rakefile in patternfly-sass-2.0.0 vs Rakefile in patternfly-sass-2.1.0

- old
+ new

@@ -47,22 +47,22 @@ '/' => 'spec/html/main.html', '/less/dist/css' => 'spec/html/dist/css', '/less/dist/fonts' => 'assets/fonts/patternfly', '/less/dist/img' => 'assets/images/patternfly', '/less/dist/js' => 'assets/javascripts', - '/less/components' => 'spec/components', + '/less/components' => 'bower_components', '/less/components/bootstrap/dist/js' => File.join(BOOTSTRAP_GEM_ROOT, 'assets', 'javascripts'), '/less/components/bootstrap/dist/fonts' => File.join(BOOTSTRAP_GEM_ROOT, 'assets', 'fonts', 'bootstrap'), '/less/components/font-awesome/fonts' => File.join(FONTAWESOME_GEM_ROOT, 'assets', 'fonts', 'font-awesome'), '/less/patternfly' => 'spec/html', '/sass/dist/fonts' => 'assets/fonts', '/sass/dist/fonts/bootstrap' => File.join(BOOTSTRAP_GEM_ROOT, 'assets', 'fonts', 'bootstrap'), '/sass/dist/img' => 'assets/images/patternfly', '/sass/dist/images' => 'assets/images', '/sass/dist/js' => 'assets/javascripts', '/sass/dist/css' => 'tmp', - '/sass/components' => 'spec/components', + '/sass/components' => 'bower_components', '/sass/components/bootstrap/dist/js' => File.join(BOOTSTRAP_GEM_ROOT, 'assets', 'javascripts'), '/sass/dist/fonts/font-awesome' => File.join(FONTAWESOME_GEM_ROOT, 'assets', 'fonts', 'font-awesome'), '/sass/patternfly' => 'spec/html' }.each { |http, local| server.mount http, WEBrick::HTTPServlet::FileHandler, local } @@ -71,11 +71,9 @@ end desc "Install testing dependencies using bower" task :deps do system("bower install", out: $stdout, err: :out) - # This is a workaround for removing the obsoletely installed bootstrap and jquery - FileUtils.rm_rf 'spec/components/bootstrap' end desc "Clean up the test results" task :cleanup do require 'fileutils'