5,337
edits
No edit summary |
No edit summary |
||
Line 84: | Line 84: | ||
Pkg.instantiate(); | Pkg.instantiate(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====Updating an existing project==== | |||
If the dependencies in <code>Project.toml</code> have been updated, you will need to run | |||
<code>Pkg.resolve()</code> to install new packages and update your local <code>Manifest.toml</code> | |||
<syntaxhighlight lang="bash"> | |||
using Pkg; | |||
Pkg.activate("./"); | |||
Pkg.resolve(); | |||
</syntaxhighlight> | |||
To update the your dependencies, run <code>Pkg.update()</code> | |||
<syntaxhighlight lang="bash"> | |||
using Pkg; | |||
Pkg.activate("./"); | |||
Pkg.update(); | |||
</syntaxhighlight> | |||
===String Interpolation=== | ===String Interpolation=== | ||
<syntaxhighlight lang="julia"> | <syntaxhighlight lang="julia"> |