mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-30 14:48:09 +03:00
document what's up with the remaining ignores
This commit is contained in:
parent
3cf9d9d68a
commit
3cb927594d
15
Shakefile.hs
15
Shakefile.hs
@ -5,17 +5,24 @@ import Development.Shake.Util
|
|||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main =
|
main =
|
||||||
-- TODO: better shake options. Parallelism, hash changes.
|
|
||||||
shakeArgs
|
shakeArgs
|
||||||
shakeOptions
|
shakeOptions
|
||||||
{ shakeFiles = "_build",
|
{ shakeFiles = "_build",
|
||||||
|
shakeThreads = 0,
|
||||||
|
shakeChange = ChangeModtimeAndDigest,
|
||||||
|
-- we ignore a lot of generated/downloaded dependency files so
|
||||||
|
-- that the output of `shake --lint-fsatrace` is usable. There
|
||||||
|
-- are probably a few untracked dependencies due to these ignores
|
||||||
|
-- (in particular relying on scripts in `node_modules`) but the
|
||||||
|
-- additional benefits are marginal compared to the effort required
|
||||||
|
-- to get everything 100% buttoned down. Long term, it'd be better to
|
||||||
|
-- move node dependencies into nix (either by using proper packages
|
||||||
|
-- where available or npm2nix where not.)
|
||||||
shakeLintIgnore =
|
shakeLintIgnore =
|
||||||
[ "node_modules/**/*",
|
[ "node_modules/**/*",
|
||||||
"elm-stuff/**/*",
|
"elm-stuff/**/*",
|
||||||
"styleguide-app/elm-stuff/**/*"
|
"styleguide-app/elm-stuff/**/*"
|
||||||
],
|
]
|
||||||
shakeThreads = 0,
|
|
||||||
shakeChange = ChangeModtimeAndDigest
|
|
||||||
}
|
}
|
||||||
$ do
|
$ do
|
||||||
-- phonies. These provide a nice public API for using shake (`shake
|
-- phonies. These provide a nice public API for using shake (`shake
|
||||||
|
Loading…
Reference in New Issue
Block a user