2015-06-16 22:33:26 +00:00
|
|
|
-- Initial Asmblr.cabal generated by cabal init. For further
|
|
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
-- The name of the package.
|
2015-06-17 21:53:37 +00:00
|
|
|
name: hackasm
|
2015-06-16 22:33:26 +00:00
|
|
|
|
|
|
|
-- The package version. See the Haskell package versioning policy (PVP)
|
|
|
|
-- for standards guiding when and how versions should be incremented.
|
|
|
|
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
|
|
|
|
-- PVP summary: +-+------- breaking API changes
|
|
|
|
-- | | +----- non-breaking API additions
|
|
|
|
-- | | | +--- code changes with no API change
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
|
|
|
-- A short (one-line) description of the package.
|
|
|
|
synopsis: Assembler for Hack platform
|
|
|
|
|
|
|
|
-- A longer description of the package.
|
|
|
|
-- description:
|
|
|
|
|
|
|
|
-- URL for the project homepage or repository.
|
2015-06-17 21:53:37 +00:00
|
|
|
homepage: http://git.rekahsoft.ca/hackasm
|
2015-06-16 22:33:26 +00:00
|
|
|
|
|
|
|
-- The license under which the package is released.
|
|
|
|
license: GPL-3
|
|
|
|
|
|
|
|
-- The file containing the license text.
|
|
|
|
license-file: LICENSE
|
|
|
|
|
|
|
|
-- The package author(s).
|
|
|
|
author: Collin J. Doering
|
|
|
|
|
|
|
|
-- An email address to which users can send suggestions, bug reports, and
|
|
|
|
-- patches.
|
|
|
|
maintainer: collin.doering@rekahsoft.ca
|
|
|
|
|
|
|
|
-- A copyright notice.
|
|
|
|
-- copyright:
|
|
|
|
|
|
|
|
-- category:
|
|
|
|
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
-- Extra files to be distributed with the package, such as examples or a
|
|
|
|
-- README.
|
2015-06-17 21:53:37 +00:00
|
|
|
extra-source-files: README.md
|
2015-06-16 22:33:26 +00:00
|
|
|
|
|
|
|
-- Constraint on the version of Cabal needed to build this package.
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
|
2015-06-17 21:53:37 +00:00
|
|
|
library
|
|
|
|
hs-source-dirs: src/lib
|
|
|
|
exposed-modules: RekahSoft.HackAsm
|
|
|
|
RekahSoft.HackAsm.Parser
|
|
|
|
|
|
|
|
build-depends: base >=4.8 && <4.9, parsec >=3.1 && <3.2, filepath >=1.4 && <1.5, containers >=0.5 && <0.6
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
2015-06-16 22:33:26 +00:00
|
|
|
executable Asmblr
|
|
|
|
-- .hs or .lhs file containing the Main module.
|
|
|
|
main-is: Main.hs
|
|
|
|
|
|
|
|
-- Modules included in this executable, other than Main.
|
2015-06-17 21:53:37 +00:00
|
|
|
other-modules: RekahSoft.HackAsm.CommandLine
|
2015-06-16 22:33:26 +00:00
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
|
|
-- other-extensions:
|
|
|
|
|
|
|
|
-- Other library packages from which modules are imported.
|
2015-06-17 21:53:37 +00:00
|
|
|
build-depends: base >=4.8 && <4.9, parsec >=3.1 && <3.2, filepath >=1.4 && <1.5, containers >=0.5 && <0.6, hackasm
|
2015-06-16 22:33:26 +00:00
|
|
|
|
|
|
|
-- Directories containing source files.
|
2015-06-17 21:53:37 +00:00
|
|
|
hs-source-dirs: src/Asmblr
|
2015-06-16 22:33:26 +00:00
|
|
|
|
|
|
|
-- Base language which the package is written in.
|
|
|
|
default-language: Haskell2010
|