Skip to content

Commit

Permalink
Merge #2235
Browse files Browse the repository at this point in the history
2235: Fix extra-source-files not containing files used by TH r=hasufell a=hasufell



Co-authored-by: Julian Ospald <julian.ospald@iohk.io>
Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io>
  • Loading branch information
3 people committed Oct 13, 2020
2 parents f28289e + 6624d65 commit bc0b803
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/core/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion lib/core/cardano-wallet-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ copyright: 2018-2020 IOHK
license: Apache-2.0
category: Web
build-type: Simple
extra-source-files: README.md
extra-source-files: specifications/api/swagger.yaml
cabal-version: >=1.10

flag release
Expand Down
1 change: 1 addition & 0 deletions lib/core/specifications
2 changes: 1 addition & 1 deletion lib/core/test/unit/Cardano/Wallet/Api/TypesSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ specification =
unsafeDecode bytes
where
bytes = $(
let swaggerYaml = "../../specifications/api/swagger.yaml"
let swaggerYaml = "./specifications/api/swagger.yaml"
in liftIO (lookupEnv "SWAGGER_YAML") >>=
maybe (makeRelativeToProject swaggerYaml) pure >>=
embedFile
Expand Down
1 change: 1 addition & 0 deletions lib/jormungandr/cardano-wallet-jormungandr.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ license: Apache-2.0
category: Web
build-type: Simple
extra-source-files: README.md
specifications/api/swagger.yaml
cabal-version: >=1.10

flag release
Expand Down
1 change: 1 addition & 0 deletions lib/jormungandr/specifications
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ specification =
unsafeDecode bytes
where
bytes = $(
let swaggerYaml = "../../specifications/api/swagger.yaml"
let swaggerYaml = "./specifications/api/swagger.yaml"
in liftIO (lookupEnv "SWAGGER_YAML") >>=
maybe (makeRelativeToProject swaggerYaml) pure >>=
embedFile
Expand Down

0 comments on commit bc0b803

Please sign in to comment.