diff --git a/meson/build-cli.sh b/meson/build-cli.sh index 26e6698..a76e202 100755 --- a/meson/build-cli.sh +++ b/meson/build-cli.sh @@ -1,13 +1,12 @@ #!/bin/bash exec_name=writeas BIN_DIR="$MESON_BUILD_ROOT"/bin -export GOPATH="$MESON_BUILD_ROOT"/go echo "Building $exec_name CLI..." # go get to fetch dependencies go get github.com/writeas/writeas-cli/cmd/writeas && cd "$MESON_SOURCE_ROOT"/src/github.com/writeas/writeas-cli/cmd/writeas && mkdir -p "$BIN_DIR" && go build -o "$BIN_DIR"/writeas && echo "Success."