Skip to content

Compile tests with --optimize #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/make.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ If you installed elm locally with npm, maybe try running with npx such as:
Command::new(executable)
.env("ELM_HOME", elm_home)
.arg("make")
.arg("--optimize")
.arg(format!("--output={}", output))
.args(report_arg)
.args(src)
Expand Down
7 changes: 2 additions & 5 deletions templates/Runner.elm
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ check =


checkHelperReplaceMe___ : a -> b
checkHelperReplaceMe___ _ =
Debug.todo """The regex for replacing this Debug.todo with some real code must have failed since you see this message!

Please report this bug: https://github.com/mpizenberg/elm-test-rs/issues/new
"""
checkHelperReplaceMe___ a =
checkHelperReplaceMe___ a


tests : List Test
Expand Down