mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-04 00:55:00 +00:00
Merge branch 'main' into inline-imports
This commit is contained in:
commit
eb8ef6241e
24 changed files with 182 additions and 180 deletions
|
|
@ -949,15 +949,16 @@ mod cli_run {
|
|||
This roc file can print its own source code. The source is:
|
||||
|
||||
app "ingested-file"
|
||||
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.9.1/y_Ww7a2_ZGjp0ZTt9Y_pNdSqqMRdMLzHMKfdN8LWidk.tar.br" }
|
||||
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
|
||||
imports [
|
||||
pf.Stdout,
|
||||
pf.Task,
|
||||
"ingested-file.roc" as ownCode : Str,
|
||||
]
|
||||
provides [main] to pf
|
||||
|
||||
main =
|
||||
Stdout.line "\nThis roc file can print its own source code. The source is:\n\n$(ownCode)"
|
||||
Stdout.line! "\nThis roc file can print its own source code. The source is:\n\n$(ownCode)"
|
||||
|
||||
"#
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue