mirror of
https://github.com/golang/go
synced 2024-11-25 06:47:56 -07:00
a0c13b9d49
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5676077
23 lines
409 B
Plaintext
23 lines
409 B
Plaintext
# Copyright 2012 The Go Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
# These function names are also known to
|
|
# (and are the plan for transitioning to) run.go.
|
|
|
|
compile() {
|
|
$G $D/$F.go
|
|
}
|
|
|
|
build() {
|
|
$G $D/$F.go && $L $F.$A
|
|
}
|
|
|
|
run() {
|
|
$G $D/$F.go && $L $F.$A && ./$A.out "$@"
|
|
}
|
|
|
|
errorcheck() {
|
|
errchk $G -e $D/$F.go
|
|
}
|