guida-lang / compiler

Guida is a functional programming language that builds upon the solid foundation of Elm, offering backward compatibility with all existing Elm 0.19.1 projects
https://guida-lang.org
Other
40 stars 2 forks source link

remove `debug` mode #7

Closed decioferreira closed 3 weeks ago

decioferreira commented 1 month ago

Currently the generated code requires to be ran with the --debug flag, we need to remove it.

This can be found on lib/guida.js:

try {
  childProcess.execSync(
    `elm make terminal/src/Main.elm --debug --output ${jsFile}`
  );
} catch (e) {
  process.exit(255);
}