Skip to content

Commit

Permalink
use cabal without hpack
Browse files Browse the repository at this point in the history
  • Loading branch information
jecaro committed Oct 15, 2023
1 parent ad091e1 commit 851e408
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/dist-newstyle/
/wolfram.cabal
/result/
41 changes: 0 additions & 41 deletions package.yaml

This file was deleted.

46 changes: 46 additions & 0 deletions wolfram.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
cabal-version: 2.2

name: wolfram
version: 0.1.0.0
build-type: Simple

common defaults
default-language: Haskell2010
default-extensions:
OverloadedStrings
ScopedTypeVariables
TupleSections
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
build-depends: base

library
import: defaults
exposed-modules:
Options
Wolfram
hs-source-dirs: src

executable wolfram
import: defaults
main-is: Main.hs
hs-source-dirs: wolfram
build-depends: wolfram

test-suite spec
import: defaults
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
OptionsSpec
WolframSpec
hs-source-dirs: test
build-depends:
hspec,
wolfram

0 comments on commit 851e408

Please sign in to comment.