diff options
author | Louis Pilfold <louis@lpil.uk> | 2023-12-20 14:27:11 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-12-20 14:27:11 +0000 |
commit | 4bcaa207bf0936800f7b9f84efbd135afebd3229 (patch) | |
tree | 164cba8128627775cd0bbace52b5f60c1dccb5ed /src | |
parent | c03851594982f12888dbab80d2d307e0e5bb3075 (diff) | |
download | tour-4bcaa207bf0936800f7b9f84efbd135afebd3229.tar.gz tour-4bcaa207bf0936800f7b9f84efbd135afebd3229.zip |
Update paths
Diffstat (limited to 'src')
-rw-r--r-- | src/try_gleam.gleam | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/try_gleam.gleam b/src/try_gleam.gleam index bbb8638..05c07a9 100644 --- a/src/try_gleam.gleam +++ b/src/try_gleam.gleam @@ -15,7 +15,7 @@ const public = "public" const public_precompiled = "public/precompiled" -const prelude = "../compiler-core/templates/prelude.mjs" +const prelude = "build/dev/javascript/prelude.mjs" const stdlib_compiled = "build/dev/javascript/gleam_stdlib/gleam" @@ -23,7 +23,7 @@ const stdlib_sources = "build/packages/gleam_stdlib/src/gleam" const stdlib_external = "build/packages/gleam_stdlib/src" -const compiler_wasm = "../compiler-wasm/pkg" +const compiler_wasm = "../gleam/compiler-wasm/pkg" const lessons_src = "lessons/src" @@ -51,10 +51,11 @@ pub fn main() { } case result { - Ok(_) -> Nil + Ok(_) -> { + io.println("Done") + } Error(snag) -> { - io.println(snag.pretty_print(snag)) - panic + panic as snag.pretty_print(snag) } } } |