create downloads dir if needed during build_standalone_distribution
This commit is contained in:
committed by
Davis W. Frank & Rajan Agaskar
parent
ae9ddd74a2
commit
cfa95fcf2c
@@ -28,7 +28,8 @@ class JasmineDev < Thor
|
||||
run_with_output "zip -rq ../jasmine-standalone-#{version_string}.zip ."
|
||||
|
||||
say "Copying Zip file to downloads directory", :yellow
|
||||
run "cp ../jasmine-standalone-#{version_string}.zip #{download_dir}"
|
||||
run "mkdir -p #{download_dir}"
|
||||
run "cp ../jasmine-standalone-#{version_string}.zip #{download_dir}/"
|
||||
end
|
||||
|
||||
end
|
||||
@@ -46,4 +47,4 @@ class JasmineDev < Thor
|
||||
File.join('lib', "jasmine-#{version_string}")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user