From c39553410c82d252d1927cbf054e875e53397aa5 Mon Sep 17 00:00:00 2001 From: Michael Tolly Date: Tue, 27 May 2014 11:15:07 -0500 Subject: [PATCH] cabalized --- Setup.hs | 2 ++ pokemid.cabal | 20 ++++++++++++++++++++ pokemid.hs | 1 - 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 Setup.hs create mode 100644 pokemid.cabal diff --git a/Setup.hs b/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/pokemid.cabal b/pokemid.cabal new file mode 100644 index 0000000..9b02342 --- /dev/null +++ b/pokemid.cabal @@ -0,0 +1,20 @@ +name: pokemid +version: 0.1 +synopsis: Import MIDI music files into Pokémon Red/Blue +homepage: https://github.com/mtolly/pokemid +license: PublicDomain +author: Michael Tolly +maintainer: miketolly@gmail.com +category: Sound +build-type: Simple +cabal-version: >= 1.10 + +executable pokemid + main-is: pokemid.hs + build-depends: base >= 4.7 && < 4.8 + , midi >= 0.2.1.2 && < 0.3 + , event-list >= 0.1.0.2 && < 0.2 + , non-negative >= 0.1 && < 0.2 + , containers >= 0.5.5.1 && < 0.6 + default-language: Haskell2010 + ghc-options: -Wall diff --git a/pokemid.hs b/pokemid.hs index 47e2420..fbe1e5b 100644 --- a/pokemid.hs +++ b/pokemid.hs @@ -1,4 +1,3 @@ -{-# OPTIONS_GHC -Wall #-} {-# LANGUAGE DeriveFunctor, DeriveDataTypeable #-} module Main where