mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00

It is outdated and source of bugs for users. There should only exist one form of basic-cli. There are still plently of local platforms if we need them for testing. On top of that, more can be added to cli_test_examples if needed.
10 lines
370 B
Text
10 lines
370 B
Text
app "ingested-file"
|
|
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.6.0/QOQW08n38nHHrVVkJNiPIjzjvbR3iMjXeFY5w1aT46w.tar.br" }
|
|
imports [
|
|
pf.Stdout,
|
|
"ingested-file.roc" as ownCode : Str,
|
|
]
|
|
provides [main] to pf
|
|
|
|
main =
|
|
Stdout.line "\nThis roc file can print it's own source code. The source is:\n\n\(ownCode)"
|