File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ curl --fail http://127.0.0.1:8080 >/dev/null 2>&1 && echo '== ERROR: something i
46
46
# node_modules if necessary.
47
47
GOOS=" $( go env GOOS) "
48
48
GOARCH=" $( go env GOARCH) "
49
- make " build/coder_${GOOS} _${GOARCH} "
49
+ make -j " build/coder_${GOOS} _${GOARCH} "
50
50
51
51
# Use the coder dev shim so we don't overwrite the user's existing Coder config.
52
52
CODER_DEV_SHIM=" ${PROJECT_ROOT} /scripts/coder-dev.sh"
@@ -76,7 +76,11 @@ CODER_DEV_SHIM="${PROJECT_ROOT}/scripts/coder-dev.sh"
76
76
# exist, then let's try to create a template!
77
77
example_template=" code-server"
78
78
template_name=" docker"
79
- if docker info > /dev/null 2>&1 && ! " ${CODER_DEV_SHIM} " templates versions list " ${template_name} " ; then
79
+ if docker info > /dev/null 2>&1 && ! " ${CODER_DEV_SHIM} " templates versions list " ${template_name} " > /dev/null 2>&1 ; then
80
+ # sometimes terraform isn't installed yet when we go to create the
81
+ # template
82
+ sleep 5
83
+
80
84
temp_template_dir=" $( mktemp -d) "
81
85
echo " ${example_template} " | " ${CODER_DEV_SHIM} " templates init " ${temp_template_dir} "
82
86
You can’t perform that action at this time.
0 commit comments