Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

run build_dist before spec:node and spec:browser tasks when run alone #159

Closed
wants to merge 1 commit into from

2 participants

@grosser

executing rake spec:node or spec:browser on their own did not pick up changes made in /src, now they always do

@infews
Owner

Good find! I'll make this change.

@infews
Owner

Fixed on HEAD of master. Thanks!

@infews infews closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 tasks/spec.rb
View
6 tasks/spec.rb
@@ -1,8 +1,8 @@
desc "Run spec suite: Browser, Node, JSHint"
-task :spec => ["build_dist", "count_specs", "spec:node", "spec:browser"]
+task :spec => ["spec:node", "spec:browser"]
desc 'Run specs in Node.js'
-task "spec:node" => [:count_specs, :require_node] do
+task "spec:node" => [:build_dist, :count_specs, :require_node] do
puts "Running all appropriate specs via Node.js".cyan
color = Term::ANSIColor.coloring? ? "--color" : "--noColor"
@@ -10,7 +10,7 @@
end
desc "Run specs in the default browser (MacOS only)"
-task "spec:browser" => [:count_specs, :build_runner_html] do
+task "spec:browser" => [:build_dist, :count_specs, :build_runner_html] do
puts "Running all appropriate specs via the default web browser".cyan
system("open spec/runner.html")
end
Something went wrong with that request. Please try again.