Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Fix output dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
blindpirate committed Mar 17, 2017
1 parent b50c668 commit 9200b96
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class GoBuildTaskTest extends TaskTest {
task.actions.each { it.execute(task) }
// then
assert task.actions.size() == 3
verify(buildManager).go(['build', '-o', './gogradle/${GOOS}_${GOARCH}_${PROJECT_NAME}'], [GOOS: 'darwin', GOARCH: 'amd64', GOEXE: '', GOPATH: 'build_gopath'])
verify(buildManager).go(['build', '-o', './gogradle/${GOOS}_${GOARCH}_${PROJECT_NAME}'], [GOOS: 'linux', GOARCH: '386', GOEXE: '', GOPATH: 'build_gopath'])
verify(buildManager).go(['build', '-o', './gogradle/${GOOS}_${GOARCH}_${PROJECT_NAME}'], [GOOS: 'windows', GOARCH: 'amd64', GOEXE: '.exe', GOPATH: 'build_gopath'])
verify(buildManager).go(['build', '-o', './.gogradle/${GOOS}_${GOARCH}_${PROJECT_NAME}'], [GOOS: 'darwin', GOARCH: 'amd64', GOEXE: '', GOPATH: 'build_gopath'])
verify(buildManager).go(['build', '-o', './.gogradle/${GOOS}_${GOARCH}_${PROJECT_NAME}'], [GOOS: 'linux', GOARCH: '386', GOEXE: '', GOPATH: 'build_gopath'])
verify(buildManager).go(['build', '-o', './.gogradle/${GOOS}_${GOARCH}_${PROJECT_NAME}'], [GOOS: 'windows', GOARCH: 'amd64', GOEXE: '.exe', GOPATH: 'build_gopath'])
}

@Test
Expand Down

0 comments on commit 9200b96

Please sign in to comment.