Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c35839a44a
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.453 kb
task :default do
build_dir = "build/JSON Formatter.safariextension"
FileUtils.rm_rf( build_dir )
FileUtils.mkdir_p( build_dir )
assets = [
"etc/Info.plist",
"etc/Settings.plist",
"src/*"
]
assets.each do |glob|
Dir.glob( glob ).each do |src|
puts "linking #{src}"
dest = "#{build_dir}/#{File.basename( src )}"
FileUtils.mkdir_p( File.dirname( dest ) )
FileUtils.link( src, dest )
end
end
end
Jump to Line
Something went wrong with that request. Please try again.