Skip to content

Commit

Permalink
Re-organize repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Nov 17, 2020
1 parent eb09c84 commit cbfa7d0
Show file tree
Hide file tree
Showing 19 changed files with 12 additions and 82 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
2 changes: 1 addition & 1 deletion README.md
File renamed without changes.
6 changes: 3 additions & 3 deletions graphula-core/graphula-core.cabal → graphula-core.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 6d2c3c26856ffe4f969fae8c28e11aa6e252225226a3f13590d8526121438327
-- hash: c702d130f70b24da8de0ffee7a182f6962fb405feea3f8e1bc1070a191b37900

name: graphula-core
version: 2.0.0.0
Expand All @@ -13,7 +13,8 @@ license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
../stack.yaml
README.md
CHANGELOG.md

library
exposed-modules:
Expand Down Expand Up @@ -66,7 +67,6 @@ test-suite readme
, monad-logger
, path-pieces
, persistent
, persistent-arbitrary
, persistent-sqlite
, persistent-template
, resourcet
Expand Down
21 changes: 0 additions & 21 deletions graphula-core/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion graphula-core/README.md

This file was deleted.

5 changes: 3 additions & 2 deletions graphula-core/package.yaml → package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ version: 2.0.0.0
maintainer: Freckle Education

extra-source-files:
- ../stack.yaml
- README.md
- CHANGELOG.md

dependencies:
- base
Expand Down Expand Up @@ -45,7 +46,7 @@ tests:
- monad-logger
- path-pieces
- persistent
- persistent-arbitrary
#- persistent-arbitrary
- persistent-sqlite
- persistent-template
- QuickCheck
Expand Down
21 changes: 0 additions & 21 deletions persistent-arbitrary/LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions persistent-arbitrary/Setup.hs

This file was deleted.

16 changes: 0 additions & 16 deletions persistent-arbitrary/package.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions persistent-arbitrary/src/Database/Persist/Arbitrary.hs

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
resolver: lts-15.13
packages:
- graphula-core
- persistent-arbitrary
extra-deps:
- generics-eot-0.4.0.1@sha256:3d8df1d8ca010238ec5f20ba30282daa0fac99c7de495fae64e26a7ea1dadb08,2312

Expand Down
Binary file added test.db
Binary file not shown.
File renamed without changes.
5 changes: 4 additions & 1 deletion graphula-core/test/README.lhs → test/README.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Graphula is a simple interface for generating persistent data and linking its de
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Main where
import Control.Monad (replicateM_)
Expand All @@ -27,7 +28,6 @@ import Control.Monad.IO.Unlift
import Control.Monad.Logger (NoLoggingT)
import Control.Monad.Trans.Reader (ReaderT)
import Control.Monad.Trans.Resource (ResourceT)
import Database.Persist.Arbitrary ()
import Database.Persist.Sqlite
import Database.Persist.TH
import Data.Typeable
Expand All @@ -36,6 +36,9 @@ import Graphula
import Graphula.UUIDKey
import Test.Hspec
import Test.QuickCheck
instance (ToBackendKey SqlBackend a) => Arbitrary (Key a) where
arbitrary = toSqlKey <$> arbitrary
```
-->
Expand Down

0 comments on commit cbfa7d0

Please sign in to comment.