Skip to content

Commit

Permalink
fake app for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhess committed Dec 12, 2023
1 parent 3d65645 commit 5e7d3ff
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 112 deletions.
1 change: 0 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
packages:
.
https://hackage.haskell.org/package/hyperbole-0.1.1/candidate/hyperbole-0.1.1.tar.gz
8 changes: 8 additions & 0 deletions fake/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module Main where

import Data.Text (unpack)
import Prelude


main :: IO ()
main = putStrLn $ unpack "HELLO WORLD"
91 changes: 4 additions & 87 deletions nso-level2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,54 +19,14 @@ extra-doc-files:
README.md
DEVELOPMENT.md

executable level2
executable fake
main-is: Main.hs
other-modules:
App
App.Colors
App.Config
App.Page.Dashboard
App.Page.Dataset
App.Page.Experiment
App.Page.Experiments
App.Page.Program
App.Page.Scan
App.Route
App.Version
App.View.Common
App.View.DataRow
App.View.DatasetsTable
App.View.Icons
App.View.InstrumentProgramSummary
Data.Grouped
Effectful.Debug
Effectful.Rel8
Effectful.Request
Effectful.Time
Flow
Flow.Example
Flow.Node
NSO.Data.Dataset
NSO.Data.Program
NSO.Data.Provenance
NSO.Data.Qualify
NSO.Data.Scan
NSO.Data.Spectra
NSO.Level2
NSO.Metadata
NSO.Metadata.Parse
NSO.Metadata.Types
NSO.Prelude
NSO.Steps
NSO.Types.Common
NSO.Types.Dataset
NSO.Types.InstrumentProgram
NSO.Types.Wavelength
Paths_nso_level2
autogen-modules:
Paths_nso_level2
hs-source-dirs:
app
fake
default-extensions:
TypeFamilies
DataKinds
Expand All @@ -81,30 +41,8 @@ executable level2
NoFieldSelectors
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
aeson ==2.1.2.1
, base >=4.16.4.0
, bytestring
, containers
, data-diverse >=4.7
, effectful ==2.3.0.0
, exceptions
, hasql
, hyperbole ==0.1.1
, lens
, modern-uri
, morpheus-graphql ==0.27.3
, morpheus-graphql-client ==0.27.3
, morpheus-graphql-core ==0.27.3
, rel8 ==1.4.1.0
, req
, string-conversions
, string-interpolate
, tagged
base >=4.16.4.0
, text
, time
, wai-extra
, warp ==3.3.31
, web-view >=0.2.3
default-language: GHC2021

test-suite tests
Expand Down Expand Up @@ -133,29 +71,8 @@ test-suite tests
build-tool-depends:
sydtest-discover:sydtest-discover
build-depends:
aeson ==2.1.2.1
, base >=4.16.4.0
, bytestring
, containers
, data-diverse >=4.7
, effectful ==2.3.0.0
, exceptions
, hasql
, hyperbole ==0.1.1
, lens
, modern-uri
, morpheus-graphql ==0.27.3
, morpheus-graphql-client ==0.27.3
, morpheus-graphql-core ==0.27.3
, rel8 ==1.4.1.0
, req
, string-conversions
, string-interpolate
base >=4.16.4.0
, sydtest >=0.15
, tagged
, text
, time
, wai-extra
, warp ==3.3.31
, web-view
default-language: GHC2021
57 changes: 33 additions & 24 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,41 +36,50 @@ default-extensions:

dependencies:
- base >=4.16.4.0
- aeson == 2.1.2.1
- bytestring
- effectful == 2.3.0.0
# - aeson == 2.1.2.1
# - bytestring
# - effectful == 2.3.0.0
- text
# - amqp-worker >= 2.0
- data-diverse >= 4.7
- tagged
- lens
- hasql
- time
- exceptions
- string-interpolate
- morpheus-graphql-client == 0.27.3
- morpheus-graphql-core == 0.27.3
- morpheus-graphql == 0.27.3
- modern-uri
- req
- containers
- string-conversions
- rel8 == 1.4.1.0
- web-view >= 0.2.3
- hyperbole == 0.1.1
- warp == 3.3.31
- wai-extra
# - data-diverse >= 4.7
# - tagged
# - lens
# - hasql
# - time
# - exceptions
# - string-interpolate
# - morpheus-graphql-client == 0.27.3
# - morpheus-graphql-core == 0.27.3
# - morpheus-graphql == 0.27.3
# - modern-uri
# - req
# - containers
# - string-conversions
# - rel8 == 1.4.1.0
# - web-view >= 0.2.3
# - hyperbole == 0.1.1
# - warp == 3.3.31
# - wai-extra


executables:
level2:
source-dirs: app
fake:
source-dirs: fake
main: Main.hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N

# executables:
# level2:
# source-dirs: app
# main: Main.hs
# ghc-options:
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N


tests:
tests:
Expand Down

0 comments on commit 5e7d3ff

Please sign in to comment.