Skip to content

Commit

Permalink
adding a tar task
Browse files Browse the repository at this point in the history
  • Loading branch information
drewda committed Jul 29, 2013
1 parent d08497b commit 4d85b3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ task :default => [
:fetch_docs,
:remove_annoying_parts_from_docs,
:fetch_icon,
:index
:index,
:tar
]

task :fetch_docs do
Expand Down Expand Up @@ -38,6 +39,10 @@ task :index do
parse_doc_into_db(doc, db)
end

task :tar do
system "tar --exclude='.DS_Store' -cvzf dist/Leaflet.tgz dist/leaflet.docset"
end

private
def file_path
Dir.getwd + '/dist/leaflet.docset/Contents/Resources/Documents/reference.html'
Expand Down

0 comments on commit 4d85b3f

Please sign in to comment.