Skip to content

Commit

Permalink
basic-cli 0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 committed Jan 24, 2025
1 parent a0aaf95 commit 4c8a74b
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 24 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/tests-nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,4 @@ jobs:

# Run all tests
- name: Run all tests
run: nix develop -c sh -c 'export ROC=roc && ./ci/all_tests.sh'

- name: Run all tests and capture output to check for crash later
run: nix develop -c sh -c 'export ROC=roc && ./ci/all_tests.sh 2>&1 | tee all_tests_output.log'

# Workaround for https://github.com/roc-lang/roc/issues/6688
- name: Check if crash occurred
run: grep -qv "crashed" all_tests_output.log
run: nix develop -c sh -c 'export ROC=roc && ./ci/all_tests.sh'
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

# Ignore the example binaries
examples/nrOfCodePoints
examples/getVisualWidth
examples/splitGraphemes
examples/get-visual-width
examples/nr-of-code-points
examples/split-graphemes

# Ignore the generated files
generated-docs
Expand Down
2 changes: 1 addition & 1 deletion examples/get-visual-width.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
unicode: "../package/main.roc", # use release URL (ends in tar.br) for local example, see github.com/roc/unicode/releases
}

Expand Down
2 changes: 1 addition & 1 deletion examples/nr-of-code-points.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
unicode: "../package/main.roc", # use release URL (ends in tar.br) for local example, see github.com/roc/unicode/releases
}

Expand Down
2 changes: 1 addition & 1 deletion examples/split-graphemes.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
unicode: "../package/main.roc", # use release URL (ends in tar.br) for local example, see github.com/roc/unicode/releases
}

Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package/GraphemeTestGen.roc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## This file will read the test data from `data/GraphemeBreakTest-15.1.0.txt`
## parse it and then generate the individual tests.
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
parser: "../../roc-parser/package/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
parser: "https://github.com/lukewilliamboswell/roc-parser/releases/download/0.10.0/6eZYaXkrakq9fJ4oUc0VfdxU1Fap2iTuAN18q9OgQss.tar.br",
}

import pf.Stdout
Expand Down
2 changes: 1 addition & 1 deletion package/InternalEAWGen.roc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## This file will read the test data from `data/EastAsianWidth-15.1.0.txt`
## parse it and then generate function to test the East Asian Width property of a code point.
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
}

import pf.Stdout
Expand Down
4 changes: 2 additions & 2 deletions package/InternalEmojiGen.roc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## This file will read the test data from `data/emoji-data.txt`
## parse it and then generate the implementation for each of the Emoji properties.
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
parser: "../../roc-parser/package/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
parser: "https://github.com/lukewilliamboswell/roc-parser/releases/download/0.10.0/6eZYaXkrakq9fJ4oUc0VfdxU1Fap2iTuAN18q9OgQss.tar.br",
}

import pf.Stdout
Expand Down
4 changes: 2 additions & 2 deletions package/InternalGBPGen.roc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## This file will read the test data from `data/GraphemeBreakProperty-15.1.0.txt`
## parse it and then generate the implementation for each of the GBP properties.
app [main!] {
pf: platform "../../basic-cli/platform/main.roc",
parser: "../../roc-parser/package/main.roc",
pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.19.0/bi5zubJ-_Hva9vxxPq4kNx4WHX6oFs8OP6Ad0tCYlrY.tar.br",
parser: "https://github.com/lukewilliamboswell/roc-parser/releases/download/0.10.0/6eZYaXkrakq9fJ4oUc0VfdxU1Fap2iTuAN18q9OgQss.tar.br",
}

import pf.Stdout
Expand Down

0 comments on commit 4c8a74b

Please sign in to comment.