#!/bin/bash # ------------------ # This is a test script that initializes a new project. # ------------------ set -e set -x PS4='+(${BASH_SOURCE}:${LINENO}): ' cd "$(dirname "${BASH_SOURCE[0]}")/.." # Compile `gas` gas="/tmp/gas" go build -o $gas ./cmd test_project="/memory/test_gasproj" if [[ -e $test_project ]]; then rm -r "$test_project" fi $gas init "$test_project" <