I created a package, which I named Experiments
and I dump all my scripts in src
. I also set up a startup.jl
file inside .doc/config/
with something like
cd("path/to/experiments/") # set up path to package
import Pkg
Pkg.activate(".")
This is an all-purpose environment. I don’t have to have a push
command or similar. This seems okay for short scripts and quick debugging of loops. Once in a while I delete everything below the # This file is machine-generated - editing it directly is not advised
header in the Manifest.toml
file and re-install packages as I need them.
Anything seriously wrong with this approach?