Created
August 16, 2024 13:12
-
-
Save mpickering/9ac21a3730388d7260e7c0c50a80c290 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Distribution.Client.ProjectConfig | |
import Distribution.Client.HttpUtils | |
import Distribution.Client.DistDirLayout | |
import Distribution.Client.RebuildMonad | |
import System.Environment | |
main = do | |
[root] <- getArgs | |
let dd = defaultDistDirLayout (ProjectRootImplicit root) Nothing Nothing | |
runRebuild root (readProjectFileSkeleton minBound plainHttpTransport dd "" "project") | |
putStrLn ("Parser passed: " ++ root) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment