Skip to content

Commit a8cf5ea

Browse files
authored
Merge pull request #262 from roc-lang/remove-prebuilt-platform
remove --prebuilt-platform
2 parents 4048641 + bbdd807 commit a8cf5ea

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
rustup target add x86_64-unknown-linux-musl
6565
6666
- name: Test building with musl target
67-
run: CARGO_BUILD_TARGET=x86_64-unknown-linux-musl ./roc_nightly/roc build.roc --prebuilt-platform -- --roc ./roc_nightly/roc
67+
run: CARGO_BUILD_TARGET=x86_64-unknown-linux-musl ./roc_nightly/roc build.roc -- --roc ./roc_nightly/roc
6868

6969
- name: Test using musl build
7070
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ roc build.roc
2222
```
2323
Then you can run like usual:
2424
```sh
25-
$ roc --prebuilt-platform examples/hello-world.roc
25+
$ roc examples/hello-world.roc
2626
Hello, World!
2727
```

ci/all_tests.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [ "$NO_BUILD" != "1" ]; then
2424
#./jump-start.sh
2525

2626
# build the basic-cli platform
27-
$ROC ./build.roc --prebuilt-platform -- --roc $ROC
27+
$ROC ./build.roc -- --roc $ROC
2828
fi
2929

3030
# roc check
@@ -44,9 +44,9 @@ for roc_file in $EXAMPLES_DIR*.roc; do
4444
fi
4545

4646
if [ "$base_file" == "temp-dir.roc" ]; then
47-
$ROC build --prebuilt-platform $roc_file $ROC_BUILD_FLAGS --linker=legacy
47+
$ROC build $roc_file $ROC_BUILD_FLAGS --linker=legacy
4848
else
49-
$ROC build --prebuilt-platform $roc_file $ROC_BUILD_FLAGS
49+
$ROC build $roc_file $ROC_BUILD_FLAGS
5050
fi
5151

5252
done
@@ -93,12 +93,12 @@ for roc_file in $EXAMPLES_DIR*.roc; do
9393
if [ "$base_file" == "path.roc" ]; then
9494
absolute_roc=$(which $ROC | xargs realpath)
9595
cd $EXAMPLES_DIR
96-
$absolute_roc dev --prebuilt-platform $base_file $ROC_BUILD_FLAGS
96+
$absolute_roc dev $base_file $ROC_BUILD_FLAGS
9797
cd ..
9898
elif [ "$base_file" == "temp-dir.roc" ]; then
99-
$ROC dev --prebuilt-platform $roc_file $ROC_BUILD_FLAGS --linker=legacy
99+
$ROC dev $roc_file $ROC_BUILD_FLAGS --linker=legacy
100100
else
101-
$ROC dev --prebuilt-platform $roc_file $ROC_BUILD_FLAGS
101+
$ROC dev $roc_file $ROC_BUILD_FLAGS
102102
fi
103103
done
104104

@@ -116,7 +116,7 @@ find . -type d -name "roc_nightly" -prune -o -type f -name "*.roc" -print | whil
116116

117117
# don't exit script if test_command fails
118118
set +e
119-
test_command=$($ROC test "$file" --prebuilt-platform)
119+
test_command=$($ROC test "$file")
120120
test_exit_code=$?
121121
set -e
122122

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)