Skip to content

Commit

Permalink
Add BinDeps.@install to README
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Nov 28, 2018
1 parent d87a149 commit a96fe29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -43,6 +43,8 @@ nettle = library_dependency("nettle", aliases = ["libnettle","libnettle-4-6"])
using Homebrew
provides( Homebrew.HB, "nettle", nettle, os = :Darwin )
end

@BinDeps.install Dict(:nettle => :nettle)
```

Then, the `Homebrew` package will automatically download the requisite bottles for any dependencies you state it can provide. This example garnered from the `build.jl` file from [`Nettle.jl` package](https://github.com/staticfloat/Nettle.jl/blob/master/deps/build.jl).
Expand Down

0 comments on commit a96fe29

Please sign in to comment.