#!/bin/bash
set -e
 (cd bb && go build . && ./bb)
 which go
 (cd scripts && go run ramfs.go -d -tmpdir=/tmp/u-root -removedir=false)
 GOBIN=/tmp/u-root/ubin GOROOT=/tmp/u-root/go GOPATH=/tmp/u-root CGO_ENABLED=0 /tmp/u-root/go/bin/go build -x github.com/u-root/u-root/cmds/ip
 (cd cmds && CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags '-s' ./...)
 ls -l cmds/*
 (cd cmds && CGO_ENABLED=0 go test -a -installsuffix cgo -ldflags '-s' ./...)
 (cd cmds && CGO_ENABLED=0 go test -cover ./...)
 go tool vet cmds uroot netlink memmap
# until we figure out what's going on. It's doing the whole directory. scripts/ramfs.go scripts/getimports.go
 sudo date
 echo "Did it blend"

#!/bin/bash
set -e
 (cd bb && go build . && ./bb)
 which go
 (cd scripts && go run ramfs.go -d -tmpdir=/tmp/u-root -removedir=false)
 GOBIN=/tmp/u-root/ubin GOROOT=/tmp/u-root/go GOPATH=/tmp/u-root CGO_ENABLED=0 /tmp/u-root/go/bin/go build -x github.com/u-root/u-root/cmds/ip
 (cd cmds && CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags '-s' ./...)
 ls -l cmds/*
 (cd cmds && CGO_ENABLED=0 go test -a -installsuffix cgo -ldflags '-s' ./...)
 (cd cmds && CGO_ENABLED=0 go test -cover ./...)
 go tool vet cmds uroot netlink memmap
 go tool vet scripts/getimports.go
 go tool vet scripts/ramfs.go
 sudo date
 echo "Did it blend"

Bring back vet for scripts
Bring back vet for scripts

Signed-off-by: Ronald G. Minnich <f569d0af9a3481c4007b95c7180d6c41009f2513@gmail.com>
