Skip to content

Commit d0bee90

Browse files
Stephan SahmStephan Sahm
authored andcommitted
added installation instruction to README
1 parent 74f97c2 commit d0bee90

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,19 @@
88
This package defines julia implementations for the common types `Option` (aka `Maybe`), `Either` and `Try`, as well as one extra type `ContextManager` which mimics Python's `with`-ContextManager.
99

1010
For more details check out the [documentation](https://schlichtanders.github.io/DataTypesBasic.jl/dev/).
11+
12+
13+
## Installation
14+
15+
The package is soon going to be registered at General, until then you can use it by adding a custom registry.
16+
```julia
17+
using Pkg
18+
pkg"registry add https://github.com/JuliaRegistries/General" # central julia repository
19+
pkg"registry add https://github.com/schlichtanders/SchlichtandersJuliaRegistry.jl" # custom repository
20+
pkg"add DataTypesBasic"
21+
```
22+
23+
Use it like
24+
```julia
25+
using DataTypesBasic
26+
```

0 commit comments

Comments
 (0)