Home Download Buy Blog Forum Support

Force Extract .sublime-package Archive into Packages folder

Force Extract .sublime-package Archive into Packages folder

Postby wakatime on Tue Jul 23, 2013 7:25 pm

I have a Sublime Text 2 & 3 plugin:
https://github.com/wakatime/sublime-wakatime

It requires wakatime-cli.py to be extracted and available:
https://github.com/wakatime/sublime-wak ... ime-cli.py

However, sometimes when installed as an archive WakaTime.sublime-package inside the Installed Packages folder the required wakatime-cli.py file is not extracted from the archive.

Is there any way to force a .sublime-package to always be fully extracted into the Packages folder?

Note: this plugin is usually installed using Sublime Package Control (http://wbond.net/sublime_packages/package_control)
wakatime
 
Posts: 2
Joined: Tue Jul 23, 2013 7:18 pm

Re: Force Extract .sublime-package Archive into Packages folder

Postby wbond on Tue Jul 23, 2013 9:52 pm

Create a file named:

Code: Select all
.no-sublime-package


in the root of your repo/packages.

https://github.com/wbond/sublime_packag ... t-15283715
wbond
 
Posts: 531
Joined: Mon Feb 28, 2011 5:33 am

Re: Force Extract .sublime-package Archive into Packages folder

Postby wakatime on Wed Jul 24, 2013 1:14 am

@wbond, thank you!
wakatime
 
Posts: 2
Joined: Tue Jul 23, 2013 7:18 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 6 guests