Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions skeleton/backend/backend.cabal

This file was deleted.

29 changes: 29 additions & 0 deletions skeleton/backend/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: backend
version: '0.1'

library:
source-dirs: src
ghc-options: -Wall
dependencies:
- base
- common
- frontend
- obelisk-backend
- obelisk-route
when:
- condition: impl(ghcjs -any)
buildable: false

executables:
backend:
main: main.hs
source-dirs: src-bin
dependencies:
- backend
- base
- common
- frontend
- obelisk-backend
when:
- condition: impl(ghcjs -any)
buildable: false
15 changes: 0 additions & 15 deletions skeleton/common/common.cabal

This file was deleted.

10 changes: 10 additions & 0 deletions skeleton/common/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: common
version: '0.1'

library:
source-dirs: src
dependencies:
- base
- obelisk-route
- mtl
- text
32 changes: 0 additions & 32 deletions skeleton/frontend/frontend.cabal

This file was deleted.

31 changes: 31 additions & 0 deletions skeleton/frontend/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: frontend
version: '0.1'

library:
source-dirs: src
ghc-options: -Wall
dependencies:
- base
- common
- obelisk-frontend
- obelisk-route
- reflex-dom
- static
- text

executables:
frontend:
main: main.hs
source-dirs: src-bin
ghc-options: -threaded
dependencies:
- base
- common
- frontend
- obelisk-frontend
- obelisk-route
- reflex-dom
- static
when:
- condition: os(osx)
ghc-options: -dynamic