Skip to content

Commit

Permalink
update to basic-cli 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-4 authored Apr 28, 2024
1 parent a700739 commit 9542513
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/Arithmetic/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "arithmetic"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
imports [
pf.Stdout,
pf.Task,
Expand Down
2 changes: 1 addition & 1 deletion examples/CommandLineArgs/main.roc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Run with `roc ./examples/CommandLineArgs/main.roc -- examples/CommandLineArgs/input.txt`
app "command-line-args"
packages {
pf: "../../../basic-cli/platform/main.roc",
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
}
imports [
pf.Stdout,
Expand Down
2 changes: 1 addition & 1 deletion examples/EncodeDecode/main.roc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app "example"
packages {
pf: "../../../basic-cli/platform/main.roc",
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
json: "https://github.com/lukewilliamboswell/roc-json/releases/download/0.7.0/xuaMzXRVG_SEhOFZucS3iBozlRdObWsfKaYZMHVE_q0.tar.br",
}
imports [
Expand Down
2 changes: 1 addition & 1 deletion examples/FizzBuzz/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "fizz-buzz"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
imports [pf.Stdout, pf.Task]
provides [main] to pf

Expand Down
2 changes: 1 addition & 1 deletion examples/HelloWorld/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "hello-world"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
imports [pf.Stdout, pf.Task]
provides [main] to pf

Expand Down
2 changes: 1 addition & 1 deletion examples/IngestFiles/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "ingested-file"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
imports [
pf.Stdout,
pf.Task,
Expand Down
2 changes: 1 addition & 1 deletion examples/Json/main.roc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app "json-basic"
packages {
cli: "../../../basic-cli/platform/main.roc",
cli: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
json: "https://github.com/lukewilliamboswell/roc-json/releases/download/0.7.0/xuaMzXRVG_SEhOFZucS3iBozlRdObWsfKaYZMHVE_q0.tar.br",
}
imports [
Expand Down
2 changes: 1 addition & 1 deletion examples/LeastSquares/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "example"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
imports [
pf.Stdout,
pf.Task,
Expand Down
2 changes: 1 addition & 1 deletion examples/MultipleRocFiles/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "interface-modules"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
# we import Stdout from the platform and the Hello interface from the Hello.roc file
imports [pf.Stdout, pf.Task, Hello]
provides [main] to pf
Expand Down
2 changes: 1 addition & 1 deletion examples/Parser/main.roc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app "parser-basic"
packages {
cli: "../../../basic-cli/platform/main.roc",
cli: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
parser: "https://github.com/lukewilliamboswell/roc-parser/releases/download/0.5.2/9VrPjwfQQ1QeSL3CfmWr2Pr9DESdDIXy97pwpuq84Ck.tar.br",
}
imports [
Expand Down
2 changes: 1 addition & 1 deletion examples/RandomNumbers/main.roc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app "random-numbers"
packages {
pf: "../../../basic-cli/platform/main.roc",
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
rand: "https://github.com/lukewilliamboswell/roc-random/releases/download/0.0.1/x_XwrgehcQI4KukXligrAkWTavqDAdE5jGamURpaX-M.tar.br",
}
imports [
Expand Down
2 changes: 1 addition & 1 deletion examples/TaskLoop/main.roc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app "task-usage"
packages {
pf: "../../../basic-cli/platform/main.roc",
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
}
imports [pf.Stdin, pf.Stdout, pf.Stderr, pf.Task.{ Task }]
provides [main] to pf
Expand Down
2 changes: 1 addition & 1 deletion examples/Tasks/main.roc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app "task-usage"
packages {
pf: "../../../basic-cli/platform/main.roc",
pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br",
}
imports [pf.Stdout, pf.Stderr, pf.Arg, pf.Env, pf.Http, pf.Dir, pf.Utc, pf.File, pf.Path.{ Path }, pf.Task.{ Task }]
provides [main] to pf
Expand Down
2 changes: 1 addition & 1 deletion examples/Tuples/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app "tuples-example"
packages { pf: "../../../basic-cli/platform/main.roc" }
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
imports [
pf.Stdout,
pf.Task,
Expand Down

0 comments on commit 9542513

Please sign in to comment.