Hello
I have a lot of files that runs correctly as individuals. Now, I wanna put them all together in a package.
I now that i can test my code using @test
but my question is how to go to specific file from terminal? I mean if i close terminal and press] i will be in pkg not in (myExample) pkg
Thanks a lot
In PKG mode you can do “activate ./your/directory”
Is this a command “activate ./your/directory”?
From terminal you can do :
julia --project=./dir/myscript.jl
Or
julia
] activate ./dir/myscript.jl
This will use the manifest and project files of this environment
2 Likes
The relevant documentation is here.
2 Likes