From a99981dd6439675ef2b52ead98b4f836941a2b3a Mon Sep 17 00:00:00 2001 From: Lucian Mogosanu Date: Tue, 23 Dec 2014 20:03:07 +0200 Subject: [PATCH] Cabalize opcodeTest --- LICENSE | 20 ++++++++++++++++++++ Setup.hs | 2 ++ hz80.cabal | 24 ++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 LICENSE create mode 100644 Setup.hs create mode 100644 hz80.cabal diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b8a09ac --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2014 Lucian Mogosanu + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 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/hz80.cabal b/hz80.cabal new file mode 100644 index 0000000..1192e54 --- /dev/null +++ b/hz80.cabal @@ -0,0 +1,24 @@ +-- Initial hz80.cabal generated by cabal init. For further documentation, +-- see http://haskell.org/cabal/users-guide/ + +name: hz80 +version: 0.1.0.0 +synopsis: A ZX Spectrum emulator +-- description: +license: MIT +license-file: LICENSE +author: Lucian Mogosanu +maintainer: lucian.mogosanu@gmail.com +-- copyright: +-- category: +build-type: Simple +extra-source-files: README.markdown +cabal-version: >=1.10 + +executable opcodeTest + main-is: OpcodeTest.hs + -- other-modules: + other-extensions: GeneralizedNewtypeDeriving + build-depends: base >=4.6 && <4.7, bytestring >=0.10 && <0.11, transformers >=0.3 && <0.4, array >=0.4 && <0.5, mtl >=2.1 && <2.2 + hs-source-dirs: src + default-language: Haskell2010 -- 1.7.10.4