more build improvements
This commit is contained in:
@@ -11,7 +11,7 @@ class GoPlugin : Plugin<Project> {
|
||||
group = "go"
|
||||
description = "compile all go source files and output into build directory"
|
||||
workingDir(project.layout.projectDirectory)
|
||||
commandLine("go", "build", "-o", "../build/go")
|
||||
commandLine("go", "build", "-o", "../build/go/${project.name}")
|
||||
}
|
||||
project.tasks.register("runGo", Exec::class.java) {
|
||||
group = "go"
|
||||
|
||||
Reference in New Issue
Block a user