Skip to content

Commit

Permalink
fix skip-agda all
Browse files Browse the repository at this point in the history
  • Loading branch information
plt-amy committed Dec 21, 2024
1 parent 6edef05 commit a1cef4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions support/shake/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ rules = do
need and kicks off the above job to build them.
-}
phony "all" do
skipAgda <- getSkipAgda
agda <- getAllModules >>= \modules -> pure do
(f, _) <- Map.toList modules
[ "_build/html" </> f <.> "html"
, "_build/html/types" </> f <.> "json"
]
[ "_build/html" </> f <.> "html" ] <>
[ "_build/html/types" </> f <.> "json" | not skipAgda ]
static <- getDirectoryFiles "support/static/" ["**/*"] >>= \files ->
pure ["_build/html/static" </> f | f <- files]
need $
Expand Down

0 comments on commit a1cef4c

Please sign in to comment.