File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ source "${SCRIPT_DIR}/lib.sh"
10
10
11
11
GOOS=" $( go env GOOS) "
12
12
GOARCH=" $( go env GOARCH) "
13
- RELATIVE_BINARY_PATH=" build/coder_ ${GOOS} _${GOARCH} "
13
+ RELATIVE_BINARY_PATH=" build/coder-slim_ ${GOOS} _${GOARCH} "
14
14
15
15
# To preserve the CWD when running the binary, we need to use pushd and popd to
16
16
# get absolute paths to everything.
@@ -20,10 +20,8 @@ CODER_DEV_BIN="$(realpath "$RELATIVE_BINARY_PATH")"
20
20
CODER_DEV_DIR=" $( realpath ./.coderv2) "
21
21
popd
22
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
23
+ GOOS=" $( go env GOOS) "
24
+ GOARCH=" $( go env GOARCH) "
25
+ make -j " ${RELATIVE_BINARY_PATH} "
28
26
29
27
exec " ${CODER_DEV_BIN} " --global-config " ${CODER_DEV_DIR} " " $@ "
You can’t perform that action at this time.
0 commit comments