BundleProjects.jl

Bundle Julia projects
Author davidanthoff
Popularity
13 Stars
Updated Last
6 Months Ago
Started In
July 2022

BundleProjects.jl

Project Status: Active - The project has reached a stable, usable state and is being actively developed. codecov

Overview

This package makes it easy to take a Julia project, and bundle a specific list of packages that are used in this project into a sub folder. This can be useful for example in the preparation of replication archives for journal submissions.

Example

To use, make sure there is a Julia project in your working directory, and then run

using FilePaths, BundleProjects

bundle(joinpath(home(), "outputpathforbundle"), packages=["PackageA", "PackageB"])

This will copy the content of the current folder to ~/outputpathforbundle, then create a folder called ~/outputpathforbundle/packages (you can change the name of this with the keyword argument packages_dir) and download the exact versions of PackageA and PackageB that are recorded in the Manifest.toml into this new packages folder.