Skip to content

Commit

Permalink
Re-organise directories
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed Nov 9, 2024
1 parent ab7e19d commit ef9b24a
Show file tree
Hide file tree
Showing 56 changed files with 30 additions and 173 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages: . demo
packages: . demos

optimization: 2

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
143 changes: 0 additions & 143 deletions demo/.vscode/tasks.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion doctest/DoctestDriver.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}

#if MIN_VERSION_GLASGOW_HASKELL(8,4,4,0)
{-# OPTIONS_GHC -F -pgmF doctest-discover #-}
{-# OPTIONS_GHC -F -pgmF doctest-discover -optF config.json #-}
#else
module Main where

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
40 changes: 20 additions & 20 deletions succinct.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ license-file: LICENSE
tested-with: GHC == 9.8.2, GHC == 9.6.6
build-type: Simple
extra-source-files: README.md
corpus/5000B.json
corpus/5000B.json.bp.idx
corpus/5000B.json.ib.idx
corpus/issue-0001.json
corpus/issue-0001.json.bp.idx
corpus/issue-0001.json.ib.idx
corpus/issue-0001.md
corpus/json/5000B.json
corpus/json/5000B.json.bp.idx
corpus/json/5000B.json.ib.idx
corpus/json/issue-0001.json
corpus/json/issue-0001.json.bp.idx
corpus/json/issue-0001.json.ib.idx
corpus/json/issue-0001.md

source-repository head
type: git
Expand Down Expand Up @@ -118,7 +118,7 @@ library json
, vector
, word8
visibility: public
hs-source-dirs: src
hs-source-dirs: libs/json
other-modules: Paths_succinct
autogen-modules: Paths_succinct
exposed-modules: HaskellWorks.Data.Json.DecodeError
Expand Down Expand Up @@ -163,7 +163,7 @@ executable succinct-json
, unordered-containers
, vector
main-is: Main.hs
hs-source-dirs: app
hs-source-dirs: apps/succinct-json
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules: App.Commands
App.Commands.CreateIndex
Expand Down Expand Up @@ -197,16 +197,16 @@ test-suite succinct-json-test
, vector
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
hs-source-dirs: tests/json
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends: hspec-discover:hspec-discover
other-modules: HaskellWorks.Data.Json.LightJsonSpec
HaskellWorks.Data.Json.Simple.CursorSpec
HaskellWorks.Data.Json.Standard.CursorSpec
HaskellWorks.Data.Json.Standard.GenCursorTest
HaskellWorks.Data.Json.Token.TokenizeSpec
HaskellWorks.Data.Json.TypeSpec
HaskellWorks.Data.Json.ValueSpec
other-modules: Data.Succinct.Json.LightJsonSpec
Data.Succinct.Json.Simple.CursorSpec
Data.Succinct.Json.Standard.CursorSpec
Data.Succinct.Json.Standard.GenCursorTest
Data.Succinct.Json.Token.TokenizeSpec
Data.Succinct.Json.TypeSpec
Data.Succinct.Json.ValueSpec

library json-examples
import: base, config
Expand All @@ -217,13 +217,13 @@ library json-examples
, hw-mquery
, hw-prim
, succinct-json
hs-source-dirs: examples
hs-source-dirs: examples/json
other-modules: Example1
Example2
Example3
Example4

benchmark bench
benchmark json-bench
import: base, config
, bytestring
, criterion
Expand All @@ -233,7 +233,7 @@ benchmark bench
, succinct-json
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
hs-source-dirs: benchmarks/json

test-suite doctest
import: base, config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{-# OPTIONS_GHC -fno-warn-missing-signatures #-}

module HaskellWorks.Data.Json.LightJsonSpec (spec) where
module Data.Succinct.Json.LightJsonSpec (spec) where

import Control.Monad
import Data.Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{-# OPTIONS_GHC -fno-warn-missing-signatures #-}

module HaskellWorks.Data.Json.Simple.CursorSpec
module Data.Succinct.Json.Simple.CursorSpec
( spec
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

{-# OPTIONS_GHC -fno-warn-missing-signatures #-}

module HaskellWorks.Data.Json.Standard.CursorSpec(spec) where
module Data.Succinct.Json.Standard.CursorSpec(spec) where

import HaskellWorks.Data.Json.Standard.GenCursorTest
import Data.Succinct.Json.Standard.GenCursorTest
import Test.Hspec

import qualified HaskellWorks.Data.Json.Standard.Cursor.Fast as FAST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{-# OPTIONS_GHC -fno-warn-missing-signatures #-}

module HaskellWorks.Data.Json.Standard.GenCursorTest(genTest) where
module Data.Succinct.Json.Standard.GenCursorTest(genTest) where

import Control.Monad
import HaskellWorks.Data.BalancedParens.BalancedParens
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE OverloadedStrings #-}

module HaskellWorks.Data.Json.Token.TokenizeSpec (spec) where
module Data.Succinct.Json.Token.TokenizeSpec (spec) where

import Data.ByteString (ByteString)
import HaskellWorks.Data.Json.Internal.Standard.Token.Tokenize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{-# OPTIONS_GHC -fno-warn-missing-signatures #-}

module HaskellWorks.Data.Json.TypeSpec (spec) where
module Data.Succinct.Json.TypeSpec (spec) where

import Control.Monad
import HaskellWorks.Data.BalancedParens.BalancedParens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{-# OPTIONS_GHC -fno-warn-missing-signatures #-}

module HaskellWorks.Data.Json.ValueSpec (spec) where
module Data.Succinct.Json.ValueSpec (spec) where

import Control.Monad
import HaskellWorks.Data.BalancedParens.BalancedParens
Expand Down
File renamed without changes.

0 comments on commit ef9b24a

Please sign in to comment.