Copy the content of the atom-language-dyon project folder to this folder:
./atom/packages/language-dyon
Such that you have this file hierarchy:
language-dyon
|- grammars
|- images
|- ...
Then, if you have the Atom editor opened, hit (OSX):
Shift + Cmd + P
and type:
Window: Reload
hit Enter.
The Atom window should become white for a second while it reloads the packages.
Now you should see the changes made to the package.
Commit changes and publish new version
Before you publish, you must commit the changes, using git or a Github UI.
The remote url of origin must be set to PistonDevelopers:
$ git remote show origin
* remote origin
Fetch URL: https://github.com/PistonDevelopers/atom-language-dyon.git
Push URL: https://github.com/PistonDevelopers/atom-language-dyon.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
If you have made a small change, use this command:
apm publish patch
If you are making a bigger change, use this command:
apm publish minor
If you are making a breaking change, such as updating the package for a new major release version of Dyon, use this command:
apm publish major
These commands will automatically increase the version number and add a tag on the PistonDevelopers repository. The Atom package register will be updated.
Update Dyon package in Atom
After publishing, you can now go to "Preferences/Packages" in Atom and find the item listing "language-dyon". Click the update button.
OSX
In the Terminal window, type:
Copy package and reload window
Copy the content of the atom-language-dyon project folder to this folder:
Such that you have this file hierarchy:
Then, if you have the Atom editor opened, hit (OSX):
and type:
hit Enter.
The Atom window should become white for a second while it reloads the packages.
Now you should see the changes made to the package.
Commit changes and publish new version
Before you publish, you must commit the changes, using
git
or a Github UI.The remote url of
origin
must be set to PistonDevelopers:If you have made a small change, use this command:
If you are making a bigger change, use this command:
If you are making a breaking change, such as updating the package for a new major release version of Dyon, use this command:
These commands will automatically increase the version number and add a tag on the PistonDevelopers repository. The Atom package register will be updated.
Update Dyon package in Atom
After publishing, you can now go to "Preferences/Packages" in Atom and find the item listing "language-dyon". Click the update button.