mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-27 13:02:42 +03:00
Add shake rule to run elm-review
This commit is contained in:
parent
7d457f3b4d
commit
3b2e2a12f8
@ -48,6 +48,7 @@ main = do
|
||||
"tests/elm-verify-examples.json",
|
||||
"log/elm-verify-examples.txt",
|
||||
"log/elm-test.txt",
|
||||
"log/elm-review.txt",
|
||||
"log/axe-report.txt",
|
||||
"log/percy-tests.txt",
|
||||
"log/forbidden-imports-report.txt",
|
||||
@ -83,6 +84,11 @@ main = do
|
||||
need (["package.json", "elm.json"] ++ elmFiles)
|
||||
cmd (WithStdout True) (FileStdout out) "elm-test"
|
||||
|
||||
"log/elm-review.txt" %> \out -> do
|
||||
elmFiles <- getDirectoryFiles "." ["**/*.elm"]
|
||||
need (["package.json", "elm.json"] ++ elmFiles)
|
||||
cmd (WithStdout True) (FileStdout out) "elm-review"
|
||||
|
||||
"log/elm-verify-examples.txt" %> \out -> do
|
||||
elmFiles <- getDirectoryFiles "." ["src/**/*.elm"]
|
||||
need (["tests/elm-verify-examples.json"] ++ elmFiles)
|
||||
|
Loading…
Reference in New Issue
Block a user