// license that can be found in the LICENSE file.
// This is a tool for packaging binary releases.
-// It supports FreeBSD, Linux, OS X, and Windows.
+// It supports FreeBSD, Linux, NetBSD, OS X, and Windows.
package main
import (
}
var targs []string
switch b.OS {
- case "linux", "freebsd", "":
+ case "linux", "freebsd", "netbsd", "":
// build tarball
targ := base
if b.Source {
case "darwin":
os_ = "Mac OS X"
opsys = "OSX"
+ case "netbsd":
+ os_ = "NetBSD"
+ opsys = "NetBSD"
case "windows":
os_ = "Windows"
opsys = "Windows"