We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11dcafd commit 5193e8bCopy full SHA for 5193e8b
Rakefile
@@ -9,8 +9,10 @@ end
9
10
desc "Install a Release build"
11
task :install => :build do
12
- if (prefix = ENV['prefix']) && File.directory?(prefix)
13
- cp 'build/Release/ios-sim', prefix
+ if prefix = ENV['prefix']
+ bin_dir = File.join(prefix, 'bin')
14
+ mkdir_p bin_dir
15
+ cp 'build/Release/ios-sim', bin_dir
16
else
17
puts "[!] Specify a directory as the install prefix with the `prefix' env variable"
18
exit 1
0 commit comments