HarmTrace 0.2 → 0.3
raw patch · 2 files changed
+3/−22 lines, 2 filessetup-changed
Files
- HarmTrace.cabal +2/−2
- Setup.hs +1/−20
HarmTrace.cabal view
@@ -1,5 +1,5 @@ name: HarmTrace-version: 0.2+version: 0.3 synopsis: HarmTrace: Harmony Analysis and Retrieval of Music description: HarmTrace: Harmony Analysis and Retrieval of Music with Type-level Representations of Abstract@@ -22,7 +22,7 @@ stability: experimental maintainer: bash@cs.uu.nl, jpm@cs.uu.nl category: Music-build-type: Custom+build-type: Simple cabal-version: >= 1.6 tested-with: GHC == 7.0.3
Setup.hs view
@@ -1,25 +1,6 @@ module Main (main) where import Distribution.Simple-import System.FilePath ((</>))-import System.Cmd (system)-import System.IO (hFlush, stdout)-import System.Exit-import System.Directory main :: IO ()-main = defaultMainWithHooks (simpleUserHooks { postConf = mypostConf })--mypostConf a f d b = let path = "MIR" </> "GeneratedInstances"- file = "GenerateInstances.hs"- ghc = "ghc "- flags = "-e main "- in do putStr "Generating instances..." - hFlush stdout- setCurrentDirectory path- ec <- system (ghc ++ flags ++ file)- case ec of- ExitSuccess -> putStrLn " done."- ExitFailure _ -> putStrLn " failed!" >> exitWith ec- postConf simpleUserHooks a f d b-+main = defaultMain