Skip to content

Dev setup

Jean-Baptiste Caillau edited this page Feb 2, 2023 · 17 revisions

Work into a project:

  • add, if necessary, officially unregistered packages according to
pkg> registry add https://github.com/control-toolbox/ct-registry.git
     Cloning registry from "https://github.com/control-toolbox/ct-registry.git"
       Added registry `ct-registry` to `~/.julia/registries/ct-registry`
  • activate the project from its root dir (containing Project.toml)
pkg> activate .

Set up julia environment for dev:

  • add local registry in the package REPL
pkg> registry add https://github.com/control-toolbox/ct-registry.git
     Cloning registry from "https://github.com/control-toolbox/ct-registry.git"
       Added registry `ct-registry` to `~/.julia/registries/ct-registry`
  • add resource for dev
pkg> dev /home/user/OptimalControl.jl
   Resolving package versions...
Clone this wiki locally