|
@@ -1,17 +1,18 @@
|
|
|
#!/bin/bash
|
|
|
|
|
|
-echo Downloading the build tool...
|
|
|
-
|
|
|
-curl -L http://sevki.co/get-build -o util/build
|
|
|
-chmod +x util/build
|
|
|
+git submodule init
|
|
|
+git submodule update
|
|
|
+echo Building the build tool...
|
|
|
+GOBIN="$(pwd)/util" GOPATH="$(pwd)/util/third_party:$(pwd)/util" go get -d harvey/cmd/... # should really vendor these bits
|
|
|
+GOBIN="$(pwd)/util" GOPATH="$(pwd)/util/third_party:$(pwd)/util" go install github.com/rminnich/ninep/srv/examples/ufs harvey/cmd/...
|
|
|
|
|
|
# this will make booting a VM easier
|
|
|
mkdir -p tmp
|
|
|
|
|
|
cat <<EOF
|
|
|
-
|
|
|
+For now, we have on architecture:
|
|
|
+export ARCH=amd64
|
|
|
And build:
|
|
|
-./util/build //.:kernel
|
|
|
-
|
|
|
+./util/build
|
|
|
See \`build -h' for more information on the build tool.
|
|
|
-EOF
|
|
|
+EOF
|