forked from finos/morphir
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure repo is in a state where the Elm build can succeed
- Loading branch information
1 parent
5d6388a
commit eab7893
Showing
3 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
fileGroups: | ||
elm-sources: | ||
- 'src/**/*.elm' | ||
- 'elm.json' | ||
elmSources: | ||
- "src" | ||
tasks: | ||
elm-lint: | ||
platform: bun | ||
command: | | ||
yarn exec elm-format @dirs(elmSources) @files(elmSources) --validate --yes | ||
elm-format @dirs(elmSources) @files(elmSources) --validate --yes | ||
inputs: | ||
- "@files(elmSources)" | ||
|
||
elm-format: | ||
platform: bun | ||
command: | | ||
yarn exec elm-format @dirs(elmSources) @files(elmSources) --yes | ||
elm-format @dirs(elmSources) @files(elmSources) --yes | ||
inputs: | ||
- "@files(elmSources)" | ||
- "@files(elmSources)" | ||
elm-library-make: | ||
description: "Compile an Elm library. Note: This amounts mostly to type-checking, since libraries don't compile to anything." | ||
platform: bun | ||
command: | | ||
elm make --output=/dev/null | ||
inputs: | ||
- "@files(elm-sources)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters