#!/usr/bin/env bash set -e echo `pwd` mkdir -p build/www # be export GOPATH=`pwd` export GOROOT=/usr/lib/go-1.6 go build -o blogScript src/main.go cp blogScript build/ cp README.md build cp ./blogScript.sql ./blogScript.pdm build cp ./config.conf build # fe cp -r www/* build/www