Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ and this project adheres to

## [unreleased]

### Changed

- Run brew update before set up to avoid an issue with Bintray transition
period.

## [1.1.9]

## Fixed
Expand Down
11 changes: 7 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ async function acquireOpamDarwin(version: string, customRepository: string) {
const repository =
customRepository || "https://github.com/ocaml/opam-repository.git";

await exec("brew", ["update"]);
await exec("brew", ["install", "opam"]);
await exec("opam", ["init", "--bare", "-yav", repository]);
await exec(path.join(__dirname, "install-ocaml-unix.sh"), [version]);
Expand Down