Publishing a package
All package management in Julia is done via GitHub. Here are the steps for publishing your own package:
- Fork the package
METADATA.jl
on GitHub, get the address of your fork, and execute the following:$ git clone git@github.com:your-user-name/METADATA.jl.git $ cd METADATA.jl
- Make a new branch with the following commands:
$ git branch mypack $ git checkout mypack
- Add the stuff for your package in a folder, say
MyPack
. Your code should go in a/src
folder, which should also containmypack.jl
, that will be run when the command usingMyPack
is issued. The tests should go in the/tests
folder. You should have aruntests.jl
file in the folder that runs the tests for your package.A text file named
REQUIRE
is where any dependencies ...
Get Julia: High Performance Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.