Skip to content

Commit

Permalink
Make subprojects depend on central /packages.dhall file. #198
Browse files Browse the repository at this point in the history
  • Loading branch information
epost committed Aug 30, 2019
1 parent 90b7968 commit c995c96
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 112 deletions.
9 changes: 0 additions & 9 deletions halogen-petrinet-editor-example/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion halogen-petrinet-editor-example/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
, "studio-common"
]
, packages =
./packages.dhall
../packages.dhall
, sources =
[ "src/**/*.purs", "test/**/*.purs" ]
}
14 changes: 0 additions & 14 deletions halogen-petrinet-editor/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion halogen-petrinet-editor/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
, "studio-common"
]
, packages =
./packages.dhall
../packages.dhall
}
35 changes: 35 additions & 0 deletions packages.dhall
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.13.3-20190818/packages.dhall sha256:c95c4a8b8033a48a350106b759179f68a695c7ea2208228c522866fd43814dc8

let overrides = {=}

let additions =
{ stbx-core = ./stbx-core/spago.dhall as Location
, stbx-client-rest = ./stbx-client-rest/spago.dhall as Location
, stbx-example-data = ./stbx-example-data/spago.dhall as Location
, studio-common = ./studio-common/spago.dhall as Location
, halogen-petrinet-editor = ./halogen-petrinet-editor/spago.dhall as Location
, halogen-tree-menu = ./halogen-tree-menu/spago.dhall as Location
, pnpro = ./pnpro/spago.dhall as Location
, halogen-svg =
{ dependencies = [ "prelude", "halogen", "strings", "web-uievents", "effect" ]
, repo = "https://github.com/statebox/purescript-halogen-svg.git"
, version = "d0a4cbc79b5513296cb746576824dce967aedbab"
}
, express =
{ dependencies =
[ "aff"
, "effect"
, "console"
, "foreign"
, "foreign-generic"
, "node-http"
, "psci-support"
, "test-unit"
]
, repo = "https://github.com/nkly/purescript-express.git"
, version = "v0.8.0"
}
}

in upstream // overrides // additions
8 changes: 0 additions & 8 deletions stbx-client-rest/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion stbx-client-rest/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
, "stbx-core"
]
, packages =
./packages.dhall
../packages.dhall
}
8 changes: 0 additions & 8 deletions stbx-core/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion stbx-core/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
, "spec"
]
, packages =
./packages.dhall
../packages.dhall
}
10 changes: 0 additions & 10 deletions stbx-example-data/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion stbx-example-data/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
, dependencies =
[ "stbx-core" ]
, packages =
./packages.dhall
../packages.dhall
}
26 changes: 0 additions & 26 deletions stbx-service-rest/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion stbx-service-rest/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
, "stbx-example-data"
]
, packages =
./packages.dhall
../packages.dhall
}
8 changes: 0 additions & 8 deletions studio-common/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion studio-common/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, dependencies =
[ "effect", "console", "psci-support" ]
, packages =
./packages.dhall
../packages.dhall
, sources =
[ "src/**/*.purs", "test/**/*.purs" ]
}
21 changes: 0 additions & 21 deletions studio/packages.dhall

This file was deleted.

2 changes: 1 addition & 1 deletion studio/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
, "web-uievents"
]
, packages =
./packages.dhall
../packages.dhall
}

0 comments on commit c995c96

Please sign in to comment.