Home Download Buy Blog Forum Support

How to compress packages into .sublime-package?

How to compress packages into .sublime-package?

Postby Apathetic on Sun Aug 18, 2013 12:20 pm

I tried this but some of the plugins don't work (eg. sublimelinter):

Code: Select all
cd plugin-dir
7z a '-x!.git' -tzip ../Installed\ Packages/plugin.sublime-package


I also sometimes get an invalid zipfile.
Apathetic
 
Posts: 4
Joined: Sun Aug 05, 2012 4:16 am

Re: How to compress packages into .sublime-package?

Postby wbond on Sun Aug 18, 2013 11:49 pm

With Package Control you can run "Create Package" from the command palette.

Some packages do not work in .sublime-package format. These packages should have a .no-sublime-package file in the root of the repository so Package Control knows to extract them.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 15 guests