Skip to content

Commit

Permalink
add local.rebar/local.hex, as if this hasn't been set the command wi…
Browse files Browse the repository at this point in the history
…ll fail (#3606)

* 18.0.0

* add local.rebar/local.hex, as if this hasn't been set the command will fail
  • Loading branch information
joshuataylor authored Jul 16, 2024
1 parent 6f109ab commit 6433ace
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ task getQuoterDeps(dependsOn: getQuoter) {
doLast {
exec {
workingDir quoterUnzippedPath
executable "mix"
args "deps.get"
commandLine 'mix', 'do', 'local.rebar', '--force,', 'local.hex', '--force,', 'deps.get'
// standardOutput = System.out
// errorOutput = System.err
}
}
}
Expand All @@ -223,8 +224,9 @@ task releaseQuoter(dependsOn: getQuoterDeps) {
if (!file.canExecute()) {
exec {
workingDir quoterUnzippedPath
executable "mix"
args "release"
commandLine 'mix', 'do', 'local.rebar', '--force,', 'local.hex', '--force,', 'deps.get,', 'release'
// standardOutput = System.out
// errorOutput = System.err
}
}
}
Expand Down

0 comments on commit 6433ace

Please sign in to comment.