Skip to content

Commit

Permalink
Plutus core/add remote deps (#385)
Browse files Browse the repository at this point in the history
* Add remote dependencies to cabal.project

* add hspec-discover to build-tool-depends for plutus-playgrounds-server

* format plutus-playground-server.cabal
  • Loading branch information
vmchale committed Dec 6, 2018
1 parent 7cccaaa commit 305f206
Show file tree
Hide file tree
Showing 2 changed files with 163 additions and 154 deletions.
10 changes: 10 additions & 0 deletions cabal.project
Expand Up @@ -30,3 +30,13 @@ allow-newer:
program-options
alex-options: -g
happy-options: -gcsa

source-repository-package
type: git
location: https://github.com/smobs/servant-subscriber.git
tag: 0354e99f5e1d244d5ec01f78e7e7439478b1d1d3

source-repository-package
type: git
location: https://github.com/shmish111/servant-purescript.git
tag: 315ccf5d720937c091c8cf3aca8adc8110766a23
307 changes: 153 additions & 154 deletions plutus-playground/plutus-playground-server/plutus-playground-server.cabal
@@ -1,165 +1,164 @@
name: plutus-playground-server
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/input-output-hk/plutus#readme>
homepage: https://github.com/iohk/plutus#readme
bug-reports: https://github.com/iohk/plutus/issues
author: Kris Jenkins
maintainer: kris.jenkins@tweag.io
copyright: Copyright: (c) 2018 Input Output
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10
cabal-version: >=1.10
name: plutus-playground-server
version: 0.1.0.0
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Input Output
maintainer: kris.jenkins@tweag.io
author: Kris Jenkins
homepage: https://github.com/iohk/plutus#readme
bug-reports: https://github.com/iohk/plutus/issues
description:
Please see the README on GitHub at <https://github.com/input-output-hk/plutus#readme>
build-type: Simple
data-files:
usecases/CrowdFunding.hs
usecases/Game.hs
usecases/Messages.hs
usecases/Vesting.hs
usecases/CrowdFunding.hs
usecases/Game.hs
usecases/Messages.hs
usecases/Vesting.hs

source-repository head
type: git
location: https://github.com/iohk/plutus
type: git
location: https://github.com/iohk/plutus

flag development
description:
Enable `-Werror`
default: False
manual: True
description: Enable `-Werror`
default: False
manual: True

library
exposed-modules:
Playground.Server
Playground.Interpreter
Playground.Usecases
other-modules:
hs-source-dirs:
src
build-depends:
aeson
, base >=4.7 && <5
, bytestring
, containers
, cryptonite >=0.25
, data-default-class
, directory
, exceptions
, file-embed
, gitrev
, hint >= 0.9.0
, bifunctors
, http-types
, insert-ordered-containers
, lens
, monad-logger
, mtl
, transformers
, newtype-generics
, plutus-playground-lib
, purescript-bridge
, scientific
, servant
, servant-foreign
, servant-options
, servant-server
, swagger2
, template-haskell
, temporary
, text
, wai
, wai-cors
, wai-extra
, wallet-api
, warp
default-language: Haskell2010
exposed-modules:
Playground.Server
Playground.Interpreter
Playground.Usecases
hs-source-dirs: src
default-language: Haskell2010
build-depends:
aeson -any,
base >=4.7 && <5,
bytestring -any,
containers -any,
cryptonite >=0.25,
data-default-class -any,
directory -any,
exceptions -any,
file-embed -any,
gitrev -any,
hint >=0.9.0,
bifunctors -any,
http-types -any,
insert-ordered-containers -any,
lens -any,
monad-logger -any,
mtl -any,
transformers -any,
newtype-generics -any,
plutus-playground-lib -any,
purescript-bridge -any,
scientific -any,
servant -any,
servant-foreign -any,
servant-options -any,
servant-server -any,
swagger2 -any,
template-haskell -any,
temporary -any,
text -any,
wai -any,
wai-cors -any,
wai-extra -any,
wallet-api -any,
warp -any

executable plutus-playground-server
main-is: Main.hs
other-modules:
Webserver
PSGenerator
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-import-lists
build-depends:
aeson
, base >=4.7 && <5
, bytestring
, containers
, cryptonite >=0.25
, data-default-class
, filepath
, file-embed
, gitrev
, hspec
, http-media
, http-types
, insert-ordered-containers
, lens
, monad-logger
, mtl
, network
, optparse-applicative
, plutus-playground-lib
, plutus-playground-server
, purescript-bridge
, scientific
, servant
, servant-foreign
, servant-options
, servant-purescript
, servant-server
, swagger2
, text
, transformers
, wai
, wai-cors
, wai-extra
, wallet-api
, warp
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: app
other-modules:
Webserver
PSGenerator
default-language: Haskell2010
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -Wall -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wmissing-import-lists
build-depends:
aeson -any,
base >=4.7 && <5,
bytestring -any,
containers -any,
cryptonite >=0.25,
data-default-class -any,
filepath -any,
file-embed -any,
gitrev -any,
hspec -any,
http-media -any,
http-types -any,
insert-ordered-containers -any,
lens -any,
monad-logger -any,
mtl -any,
network -any,
optparse-applicative -any,
plutus-playground-lib -any,
plutus-playground-server -any,
purescript-bridge -any,
scientific -any,
servant -any,
servant-foreign -any,
servant-options -any,
servant-purescript -any,
servant-server -any,
swagger2 -any,
text -any,
transformers -any,
wai -any,
wai-cors -any,
wai-extra -any,
wallet-api -any,
warp -any

test-suite plutus-playground-server-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Playground.APISpec
Playground.UsecasesSpec
Paths_plutus_playground_server
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-import-lists
build-depends:
QuickCheck
, aeson
, base >=4.7 && <5
, bytestring
, containers
, data-default-class
, file-embed
, gitrev
, hspec
, http-media
, http-types
, insert-ordered-containers
, monad-logger
, mtl
, network
, plutus-playground-lib
, plutus-playground-server
, purescript-bridge
, servant
, servant-foreign
, servant-options
, servant-server
, swagger2
, text
, transformers
, unordered-containers
, wai
, wai-cors
, wai-extra
, wallet-api
, warp
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover -any
hs-source-dirs: test
other-modules:
Playground.APISpec
Playground.UsecasesSpec
Paths_plutus_playground_server
default-language: Haskell2010
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -Wall -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wmissing-import-lists
build-depends:
QuickCheck -any,
aeson -any,
base >=4.7 && <5,
bytestring -any,
containers -any,
data-default-class -any,
file-embed -any,
gitrev -any,
hspec -any,
http-media -any,
http-types -any,
insert-ordered-containers -any,
monad-logger -any,
mtl -any,
network -any,
plutus-playground-lib -any,
plutus-playground-server -any,
purescript-bridge -any,
servant -any,
servant-foreign -any,
servant-options -any,
servant-server -any,
swagger2 -any,
text -any,
transformers -any,
unordered-containers -any,
wai -any,
wai-cors -any,
wai-extra -any,
wallet-api -any,
warp -any

0 comments on commit 305f206

Please sign in to comment.