Skip to content

Package Development

Hao Cheng edited this page Sep 12, 2023 · 13 revisions

Registrator is a GitHub app to automate the official release of a new version of Julia packages

Track Traffic to Github repository

Modify source code and use the changes without restarting Julia

  • Revise.jl

The notebook for reproducible research

Upgrade packages

Step1. git in .julia/dev/JWAS/

make sure the local JWAS is latest

git pull  

go to your branch to modify JWAS, instead of using master branch

git checkout mybranch

Step2. VSCode

using dev/JWAS

]dev JWAS

or

using Pkg
Pkg.develop("JWAS")

check whether you're using dev/JWAS

]status

should have something like JWAS v1.1.3 ~/.julia/dev/JWAS. Also check the branch in the lower left corner of VSCode.

Step3. modify and test JWAS

using Revise
using JWAS

use an example code to make sure this is bug-free. Note that if a module is changed, need to restart Julia.

Step4. unitest

In server, update JWAS to your branch by

add JWAS#mybranch

Double-check by

]status

Then run unitest code.

Clone this wiki locally