mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Make rake test work again
This commit is contained in:
parent
9cd6fda3e1
commit
c5a049dd0f
11
Rakefile
11
Rakefile
@ -93,9 +93,16 @@ task :clean do
|
||||
end
|
||||
|
||||
desc "Run the specs"
|
||||
task :test => ["clean", "clone-default-bundles"] do
|
||||
task :test => ["clone-default-bundles", "build"] do
|
||||
`pkill Atom`
|
||||
Rake::Task["run"].invoke("--test --resource-path=#{ATOM_SRC_PATH}")
|
||||
if path = application_path()
|
||||
`rm -rf path`
|
||||
cmd = "#{path}/Contents/MacOS/Atom --test 2> /dev/null"
|
||||
system(cmd)
|
||||
exit($?.exitstatus)
|
||||
else
|
||||
exit(1)
|
||||
end
|
||||
end
|
||||
|
||||
desc "Run the benchmarks"
|
||||
|
Loading…
Reference in New Issue
Block a user