-
Book Overview & Buying
-
Table Of Contents
Getting started with Julia Programming Language
By :
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 [email protected]: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 contain mypack.jl, that will be run when the command using MyPack is issued. The tests should go in the /tests folder. You should have a runtests.jl file in the folder that runs the tests for your package.
A text file named REQUIRE is where any dependencies on other Julia packages go; it is also where you specify compatible versions of Julia.
For example, it can contain the following:
julia 0.3- BinDeps @windows WinRPM
This certifies that this package is compatible with Julia v0.3 or higher; it needs the...
Change the font size
Change margin width
Change background colour