Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Jun 12, 2021
1 parent 016ff4a commit 4bc4eb0
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 54 deletions.
6 changes: 2 additions & 4 deletions doc/plutus-doc.cabal
Expand Up @@ -69,7 +69,5 @@ executable doc-doctests
QuickCheck -any,
random -any,
text -any,
aeson -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
aeson -any,
plutus-tx-plugin -any
3 changes: 1 addition & 2 deletions marlowe/marlowe.cabal
Expand Up @@ -39,8 +39,7 @@ common lang
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
build-depends: plutus-tx-plugin -any

if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
Expand Down
18 changes: 6 additions & 12 deletions plutus-benchmark/plutus-benchmark.cabal
Expand Up @@ -61,8 +61,7 @@ library
, plutus-tx -any
, plutus-core -any
, deepseq -any
if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
, plutus-tx-plugin -any
default-extensions:
DataKinds
NamedFieldPuns
Expand All @@ -88,8 +87,7 @@ executable nofib-exe
, optparse-applicative -any
, serialise -any
, transformers -any
if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
, plutus-tx-plugin -any

benchmark nofib
import: lang
Expand All @@ -109,8 +107,7 @@ benchmark nofib
, criterion >= 1.5.9.0
, filepath -any
, mtl -any
if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
, plutus-tx-plugin -any

benchmark nofib-hs
import: lang
Expand All @@ -129,8 +126,7 @@ benchmark nofib-hs
, containers -any
, criterion -any
, filepath -any
if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
, plutus-tx-plugin -any


benchmark validation
Expand Down Expand Up @@ -168,8 +164,7 @@ test-suite plutus-benchmark-nofib-tests
, tasty-hunit -any
, tasty-quickcheck -any
, mtl -any
if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
, plutus-tx-plugin -any

benchmark flat
import: lang
Expand Down Expand Up @@ -205,5 +200,4 @@ benchmark flat
, text -any
, transformers -any
, zlib
if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
, plutus-tx-plugin -any
6 changes: 2 additions & 4 deletions plutus-contract/plutus-contract.cabal
Expand Up @@ -181,7 +181,5 @@ test-suite plutus-contract-test
plutus-ledger -any,
plutus-tx -any,
freer-simple -any,
aeson -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
aeson -any,
plutus-tx-plugin -any
24 changes: 8 additions & 16 deletions plutus-playground-server/plutus-playground-server.cabal
Expand Up @@ -98,10 +98,8 @@ library
time-units -any,
transformers -any,
wai-cors -any,
web-ghc -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
web-ghc -any,
plutus-tx-plugin -any

library plutus-playground-usecases
hs-source-dirs: usecases
Expand Down Expand Up @@ -143,10 +141,8 @@ library plutus-playground-usecases
row-types -any,
text -any,
time-units -any,
transformers -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
transformers -any,
plutus-tx-plugin -any

if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
Expand Down Expand Up @@ -216,10 +212,8 @@ executable plutus-playground-server
row-types -any,
warp -any,
web-ghc -any,
yaml -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
yaml -any,
plutus-tx-plugin -any

test-suite plutus-playground-server-test
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -257,7 +251,5 @@ test-suite plutus-playground-server-test
time-units -any,
transformers -any,
plutus-ledger -any,
web-ghc -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
web-ghc -any,
plutus-tx-plugin -any
24 changes: 8 additions & 16 deletions plutus-use-cases/plutus-use-cases.cabal
Expand Up @@ -85,10 +85,8 @@ library
hashable -any,
freer-simple -any,
streaming -any,
semigroups -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
semigroups -any,
plutus-tx-plugin -any

if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
Expand Down Expand Up @@ -149,10 +147,8 @@ test-suite plutus-use-cases-test
QuickCheck -any,
freer-simple -any,
foldl -any,
streaming -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
streaming -any,
plutus-tx-plugin -any

-- runs emulator traces from plutus-use-cases-tests and
-- writes all applied validator scripts to a folder
Expand Down Expand Up @@ -217,10 +213,8 @@ executable plutus-use-cases-scripts
plutus-tx -any,
plutus-contract -any,
plutus-ledger -any,
plutus-use-cases -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
plutus-use-cases -any,
plutus-tx-plugin -any

benchmark plutus-use-cases-bench
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -248,7 +242,5 @@ benchmark plutus-use-cases-bench
plutus-use-cases -any,
plutus-ledger -any,
bytestring -any,
plutus-contract -any

if !(impl(ghcjs) || os(ghcjs) || os(windows))
build-depends: plutus-tx-plugin -any
plutus-contract -any,
plutus-tx-plugin -any

0 comments on commit 4bc4eb0

Please sign in to comment.