From 46b60a99440164d461e116222d5e5cf5db864bb8 Mon Sep 17 00:00:00 2001 From: 1Computer1 Date: Thu, 25 Jul 2019 00:31:46 -0400 Subject: [PATCH] Switch to cabal --- .gitignore | 25 ++++++++++-- myriad.cabal | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ stack.yaml | 4 -- stack.yaml.lock | 12 ------ 4 files changed, 122 insertions(+), 19 deletions(-) create mode 100644 myriad.cabal delete mode 100644 stack.yaml delete mode 100644 stack.yaml.lock diff --git a/.gitignore b/.gitignore index 4368b73..076d2fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,25 @@ +dist +dist-* +cabal-dev +*.o +*.hi +*.hie +*.chi +*.chs.h +*.dyn_o +*.dyn_hi +.hpc +.hsenv +.cabal-sandbox/ +cabal.sandbox.config +*.prof +*.aux +*.hp +*.eventlog .stack-work/ +cabal.project.local +cabal.project.local~ +.HTF/ +.ghc.environment.* .vscode/ -logs/ -myriad.cabal config.dhall -myriad diff --git a/myriad.cabal b/myriad.cabal new file mode 100644 index 0000000..8ef0605 --- /dev/null +++ b/myriad.cabal @@ -0,0 +1,100 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.31.2. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 04a15c51f0ad270f323a3edd67bc229f0a0796226ff53a118338ec643b22b3c1 + +name: myriad +version: 0.1.0.0 +synopsis: Arbitrary code execution in Docker +description: Please see the README +category: Server +homepage: https://github.com/1computer1/myriad#readme +bug-reports: https://github.com/1computer1/myriad/issues +author: 1Computer1 +maintainer: onecomputer00@gmail.com +copyright: 2019 1Computer1 +license: MIT +license-file: LICENSE +build-type: Simple +extra-source-files: + README.md + +source-repository head + type: git + location: https://github.com/1computer1/myriad + +library + exposed-modules: + Myriad + Myriad.Core + Myriad.Docker + Myriad.Server + other-modules: + Paths_myriad + hs-source-dirs: + src + default-extensions: BlockArguments ConstraintKinds DataKinds DerivingStrategies DeriveFunctor DeriveGeneric FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings PatternSynonyms PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TupleSections TypeApplications TypeOperators TypeFamilies ViewPatterns + build-depends: + aeson + , async + , base + , bytestring + , containers + , dhall + , filepath + , lifted-async + , lifted-base + , monad-control + , monad-logger + , mtl + , servant + , servant-server + , snowflake + , string-conversions + , text + , time + , transformers + , transformers-base + , typed-process + , wai + , warp + default-language: Haskell2010 + +executable myriad + main-is: Main.hs + other-modules: + Paths_myriad + hs-source-dirs: + app + default-extensions: BlockArguments ConstraintKinds DataKinds DerivingStrategies DeriveFunctor DeriveGeneric FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings PatternSynonyms PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TupleSections TypeApplications TypeOperators TypeFamilies ViewPatterns + ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall + build-depends: + aeson + , async + , base + , bytestring + , containers + , dhall + , filepath + , lifted-async + , lifted-base + , monad-control + , monad-logger + , mtl + , myriad + , optparse-applicative + , servant + , servant-server + , snowflake + , string-conversions + , text + , time + , transformers + , transformers-base + , typed-process + , wai + , warp + default-language: Haskell2010 diff --git a/stack.yaml b/stack.yaml deleted file mode 100644 index fb049b7..0000000 --- a/stack.yaml +++ /dev/null @@ -1,4 +0,0 @@ -resolver: lts-13.27 - -packages: -- . diff --git a/stack.yaml.lock b/stack.yaml.lock deleted file mode 100644 index 7fb2c31..0000000 --- a/stack.yaml.lock +++ /dev/null @@ -1,12 +0,0 @@ -# This file was autogenerated by Stack. -# You should not edit this file by hand. -# For more information, please see the documentation at: -# https://docs.haskellstack.org/en/stable/lock_files - -packages: [] -snapshots: -- completed: - size: 500539 - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/13/27.yaml - sha256: 690db832392afe55733b4c7023fd29b1b1c660ee42f1fb505b86b07394ca994e - original: lts-13.27