File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ mv roc_nightly* roc_nightly
36
36
cd roc_nightly
37
37
38
38
# build the basic cli platform
39
- ./roc build ../basic-cli/examples/countdown.roc
39
+ ./roc build ../basic-cli/examples/countdown.roc --optimize
40
40
41
41
# We need this extra variable so we can safely check if $2 is empty later
42
42
EXTRA_ARGS=${2:- }
43
43
44
44
# In some rare cases it's nice to be able to use the legacy linker, so we produce the .o file to be able to do that
45
45
if [ -n " ${EXTRA_ARGS} " ];
46
- then ./roc build $EXTRA_ARGS ../basic-cli/examples/countdown.roc
46
+ then ./roc build $EXTRA_ARGS ../basic-cli/examples/countdown.roc --optimize
47
47
fi
48
48
49
49
cd ..
Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ cd roc_nightly
42
42
# prevent https://github.com/roc-lang/basic-webserver/issues/9
43
43
if [ " $OS " != " Linux" ] || [ " $ARCH " != " x86_64" ]; then
44
44
# build the basic-webserver platform
45
- ./roc build ../basic-webserver/examples/echo.roc
45
+ ./roc build ../basic-webserver/examples/echo.roc --optimize
46
46
fi
47
47
48
48
# We need this extra variable so we can safely check if $2 is empty later
49
49
EXTRA_ARGS=${2:- }
50
50
51
51
# In some rare cases it's nice to be able to use the legacy linker, so we produce the .o file to be able to do that
52
52
if [ -n " ${EXTRA_ARGS} " ];
53
- then ./roc build $EXTRA_ARGS ../basic-webserver/examples/echo.roc
53
+ then ./roc build $EXTRA_ARGS ../basic-webserver/examples/echo.roc --optimize
54
54
fi
55
55
56
56
cd ..
You can’t perform that action at this time.
0 commit comments