We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
coder-dev.sh
1 parent 75f62dc commit 1ff3bc7Copy full SHA for 1ff3bc7
scripts/coder-dev.sh
@@ -10,7 +10,7 @@ source "${SCRIPT_DIR}/lib.sh"
10
11
GOOS="$(go env GOOS)"
12
GOARCH="$(go env GOARCH)"
13
-RELATIVE_BINARY_PATH="build/coder_${GOOS}_${GOARCH}"
+RELATIVE_BINARY_PATH="build/coder-slim_${GOOS}_${GOARCH}"
14
15
# To preserve the CWD when running the binary, we need to use pushd and popd to
16
# get absolute paths to everything.
@@ -20,10 +20,6 @@ CODER_DEV_BIN="$(realpath "$RELATIVE_BINARY_PATH")"
20
CODER_DEV_DIR="$(realpath ./.coderv2)"
21
popd
22
23
-if [[ ! -x "${CODER_DEV_BIN}" ]]; then
24
- echo "Run this command first:"
25
- echo " make $RELATIVE_BINARY_PATH"
26
- exit 1
27
-fi
+make -j "${RELATIVE_BINARY_PATH}"
28
29
exec "${CODER_DEV_BIN}" --global-config "${CODER_DEV_DIR}" "$@"
0 commit comments