Reader small image

You're reading from  Mastering Sublime Text

Product typeBook
Published inDec 2013
PublisherPackt
ISBN-139781849698429
Edition1st Edition
Right arrow
Author (1)
Dan Peleg
Dan Peleg
author image
Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.
Read more about Dan Peleg

Right arrow

Publishing our plugin


We are going to publish our plugin to Package Control, so everyone can download and install it. To publish our plugin, we'll need to have git installed on our system and a GitHub account. Let's first start by creating a repository for our plugin and committing all files to it by running the following commands in the plugin folder:

git init
git add .
git commit –m "Initial Commit"

Create a new public repository in GitHub by going to http://github.com/new and pushing our local repository there by running:

git remote add origin https://github.com/USERNAME/REPO-NAME.git
git push -u origin master

In the preceding code, USERNAME is your username and REPO-NAME is the repository name you just created. GitHub will prompt you for the username and password.

Tip

You can also add a README.md file to your repository.

Now for the tricky part: we'll need to select Fork on the https://github.com/wbond/package_control_channel page, as shown in the following screenshot:

After forking, we...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Sublime Text
Published in: Dec 2013Publisher: PacktISBN-13: 9781849698429

Author (1)

author image
Dan Peleg

Dan Peleg is an accomplished software engineer. As a former developer in the Israeli Intelligence Force, he holds extensive experience in both defense and robotic industries, and has previously lectured at DefCon conventions. Dan has developed unique algorithms for robotic platforms, specializes in a variety of software platforms, and currently works as the CTO for an American startup company.
Read more about Dan Peleg