An open API service indexing awesome lists of open source software.

https://github.com/davidanthoff/bundleprojects.jl

Bundle Julia projects
https://github.com/davidanthoff/bundleprojects.jl

Last synced: over 1 year ago
JSON representation

Bundle Julia projects

Awesome Lists containing this project

README

          

# BundleProjects.jl

[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
![](https://github.com/davidanthoff/BundleProjects.jl/workflows/Run%20tests/badge.svg)
[![codecov](https://codecov.io/gh/davidanthoff/BundleProjects.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/davidanthoff/BundleProjects.jl)

## 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

```julia
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.