mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-27 13:02:42 +03:00
12 lines
417 B
Haskell
12 lines
417 B
Haskell
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
|