Specify resource path when running test task

Now that the release build is generated from rake
install the RESOURCE_PATH is no longer defined so
explicitly set it via an argument to the launched
application.
This commit is contained in:
Kevin Sawicki
2013-01-28 16:49:41 -08:00
parent 4fe021bb61
commit 154d2306ce

View File

@@ -113,7 +113,7 @@ end
desc "Run the specs"
task :test => ["clean", "clone-default-bundles"] do
`pkill Atom`
Rake::Task["run"].invoke("--test")
Rake::Task["run"].invoke("--test --resource-path=#{ATOM_SRC_PATH}")
end
desc "Run the benchmarks"