blob: 4864833d41faf4d18a1951d052254352b0e2cd78 [file] [log] [blame]
package build
import (
"fmt"
"path/filepath"
)
func mustAbs(p string) string {
a, err := filepath.Abs(p)
if err != nil {
panic(fmt.Errorf("failed to get absolute path to %s", p))
}
return a
}