mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
remove unused rake task
This commit is contained in:
parent
049f589de0
commit
b4613a6651
16
Rakefile
16
Rakefile
@ -78,22 +78,6 @@ task :"copy-files-to-bundle" => :"verify-prerequisites" do
|
||||
end
|
||||
end
|
||||
|
||||
desc "Change webkit frameworks to use @rpath as install name"
|
||||
task :"webkit-fix" do
|
||||
for framework in FileList["frameworks/*.framework"]
|
||||
name = framework[/\/([^.]+)/, 1]
|
||||
executable = framework + "/" + name
|
||||
|
||||
`install_name_tool -id @rpath/#{name}.framework/Versions/A/#{name} #{executable}`
|
||||
|
||||
libs = `otool -L #{executable}`
|
||||
for name in ["JavaScriptCore", "WebKit", "WebCore"]
|
||||
_, path, suffix = *libs.match(/\t(\S+(#{name}.framework\S+))/i)
|
||||
`install_name_tool -change #{path} @rpath/../Frameworks/#{suffix} #{executable}` if path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
desc "Remove any 'fit' or 'fdescribe' focus directives from the specs"
|
||||
task :nof do
|
||||
system %{find . -name *spec.coffee | xargs sed -E -i "" "s/f+(it|describe) +(['\\"])/\\1 \\2/g"}
|
||||
|
Loading…
Reference in New Issue
Block a user