https://github.com/tpapp/roguepkg.jl
Test, benchmark, and Pkg.dir for local packages outside ~/.julia
https://github.com/tpapp/roguepkg.jl
Last synced: 4 months ago
JSON representation
Test, benchmark, and Pkg.dir for local packages outside ~/.julia
- Host: GitHub
- URL: https://github.com/tpapp/roguepkg.jl
- Owner: tpapp
- License: other
- Created: 2017-09-25T15:52:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T09:18:29.000Z (over 5 years ago)
- Last Synced: 2026-01-20T20:05:09.944Z (5 months ago)
- Language: Julia
- Size: 11.7 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# RoguePkg

[](https://travis-ci.org/tpapp/RoguePkg.jl)
[](https://coveralls.io/github/tpapp/RoguePkg.jl?branch=master)
[](http://codecov.io/github/tpapp/RoguePkg.jl?branch=master)
**This package was made obsolete by the new `Pkg` framework of Julia v0.7, which simplifies development for local packages.** It is retired, and unlikely to receive any updates.
## Description
This package defines some methods for functions in `Base.Pkg` that should make testing, benchmarking, and locating files in packages outside the default directory (which is returned by `Pkg.dir()`, eg `~/.julia/v0.6`) easier.
## Usage
First, load the module:
```julia
using RoguePkg
```
Then you can refer to packages by the module they contain:
```julia
pkg_for"MyFancyModule"
```
A path:
```julia
pkg_at"~/this_is/where_I/keep/FancyPkg"
```
Or, if you set `ENV[JULIA_LOCAL_PACKAGES]`, by their subdirectory:
```julia
pkg_local"FancyPkg"
```
Then you can use the resulting objects with some functions, including `Pkg.test`, `Pkg.dir`. The methods for the latter even make `PkgBenchmark.benchmarkpkg` work. For example,
```julia
Pkg.test(pkg_for"FancyModule")
```