diff --git a/Rakefile b/Rakefile index e82c2a9..b1514b5 100644 --- a/Rakefile +++ b/Rakefile @@ -7,7 +7,8 @@ task :default => [ :fetch_docs, :remove_annoying_parts_from_docs, :fetch_icon, - :index + :index, + :tar ] task :fetch_docs do @@ -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'