mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 00:42:29 +03:00
port deprecated imports stuff to Shake
This commit is contained in:
parent
bfae039d90
commit
a1b71b48ff
14
Shakefile.hs
14
Shakefile.hs
@ -23,3 +23,17 @@ main = shakeArgs shakeOptions {shakeFiles = "_build"} $ do
|
||||
"log/percy-tests" %> \out -> do
|
||||
Stdout report <- cmd "script/percy-tests.sh"
|
||||
writeFileChanged out report
|
||||
|
||||
-- deprecated imports
|
||||
--
|
||||
-- still need something to error when they fail (i.e. when running the
|
||||
-- `check` subcommand)
|
||||
|
||||
"log/deprecated-imports-report.txt" %> \out -> do
|
||||
need ["script/deprecated-imports.py"]
|
||||
Stdout report <- cmd "script/deprecated-imports.py report"
|
||||
writeFileChanged out report
|
||||
|
||||
"log/deprecated-imports.csv" %> \out -> do
|
||||
need ["script/deprecated-imports.py"]
|
||||
cmd_ "script/deprecated-imports.py" "--imports-file" out "update"
|
||||
|
Loading…
Reference in New Issue
Block a user