Skip to content

Commit

Permalink
Fix cabal files
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Sep 22, 2021
1 parent 3698076 commit 99000b0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
packages:
clashfsm.cabal
yieldfsm.cabal

package clash-prelude
-- 'large-tuples' generates tuple instances for various classes up to the
Expand Down
26 changes: 16 additions & 10 deletions clashfsm.cabal → yieldfsm.cabal
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
cabal-version: 2.4
name: clashfsm
name: yieldfsm
version: 0.1
license: BSD-2-Clause
author: John Smith <[email protected]>
maintainer: John Smith <[email protected]>
author: Marek Materzok <[email protected]>
maintainer: Marek Materzok <[email protected]>
category: Hardware
synopsis: YieldFSM, a DSL for describing finite state machines in Clash

source-repository head
type: git
location: https://github.com/tilk/yieldfsm

common common-options
default-extensions:
Expand Down Expand Up @@ -58,7 +64,7 @@ common common-options
-- a no-specialize pragma to every function with a blackbox.
-fno-worker-wrapper
build-depends:
base,
base >= 4.14 && < 4.15,
Cabal,
template-haskell,
containers >= 0.6 && < 0.7,
Expand Down Expand Up @@ -113,21 +119,21 @@ library
FSM.Util.MonadUnique
default-language: Haskell2010

-- Builds the executable 'clash', with clashfsm project in scope
-- Builds the executable 'clash', with yieldfsm project in scope
executable clash
main-is: bin/Clash.hs
default-language: Haskell2010
Build-Depends: base, clash-ghc, clashfsm
Build-Depends: base, clash-ghc, yieldfsm
if !os(Windows)
ghc-options: -dynamic

-- Builds the executable 'clashi', with clashfsm project in scope
-- Builds the executable 'clashi', with yieldfsm project in scope
executable clashi
main-is: bin/Clashi.hs
default-language: Haskell2010
if !os(Windows)
ghc-options: -dynamic
build-depends: base, clash-ghc, clashfsm
build-depends: base, clash-ghc, yieldfsm

-- test-suite doctests
-- import: common-options
Expand All @@ -138,7 +144,7 @@ executable clashi
--
-- build-depends:
-- base,
-- clashfsm,
-- yieldfsm,
-- process,
-- doctest >= 0.16.1 && < 0.18
--
Expand All @@ -152,7 +158,7 @@ test-suite test-library
-- other-modules:
-- Test
build-depends:
clashfsm,
yieldfsm,
QuickCheck,
hedgehog,
tasty >= 1.2 && < 1.3,
Expand Down

0 comments on commit 99000b0

Please sign in to comment.