Skip to content

Commit

Permalink
Reorganized and verified that the extension is still working
Browse files Browse the repository at this point in the history
  • Loading branch information
rfletcher committed Feb 25, 2012
1 parent 691d9fd commit 5036d2f
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ will display the value 100.

[1]: http://github.com/rfletcher/safari-json-formatter/downloads
[2]: http://github.com/rfletcher/safari-json-formatter/commit/HEAD.json
[i1]: https://github.com/rfletcher/safari-json-formatter/raw/HEAD/images/before.png
[i2]: https://github.com/rfletcher/safari-json-formatter/raw/HEAD/images/after.png
[i1]: https://github.com/rfletcher/safari-json-formatter/raw/HEAD/etc/images/before.png
[i2]: https://github.com/rfletcher/safari-json-formatter/raw/HEAD/etc/images/after.png
22 changes: 22 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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",
"etc/Update.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit 5036d2f

Please sign in to comment.