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
- Host: GitHub
- URL: https://github.com/davidanthoff/bundleprojects.jl
- Owner: davidanthoff
- License: mit
- Created: 2022-07-19T19:51:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T07:15:33.000Z (over 1 year ago)
- Last Synced: 2025-02-10T12:12:30.687Z (over 1 year ago)
- Language: Julia
- Homepage:
- Size: 19.5 KB
- Stars: 13
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BundleProjects.jl
[](http://www.repostatus.org/#active)

[](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.