mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-17 10:17:09 +03:00
first working shake rule
This commit is contained in:
parent
1122a7644b
commit
3be1541586
2
.gitignore
vendored
2
.gitignore
vendored
@ -242,3 +242,5 @@ documentation.json
|
||||
/tests/axe-report.json
|
||||
/tests/deprecated-imports-report.txt
|
||||
/tests/VerifyExamples
|
||||
|
||||
/_build
|
||||
|
11
Shakefile.hs
Normal file
11
Shakefile.hs
Normal file
@ -0,0 +1,11 @@
|
||||
import Development.Shake
|
||||
import Development.Shake.Command
|
||||
import Development.Shake.FilePath
|
||||
import Development.Shake.Util
|
||||
|
||||
main :: IO ()
|
||||
main = shakeArgs shakeOptions {shakeFiles = "_build"} $ do
|
||||
"tests/elm-verify-examples.json" %> \out -> do
|
||||
need ["elm.json"]
|
||||
Stdout newConfig <- cmd "jq" "--indent" "4" ["{ root: \"../src\", tests: .[\"exposed-modules\"] }"] "elm.json"
|
||||
writeFileChanged out newConfig
|
Loading…
Reference in New Issue
Block a user