mirror of
https://github.com/github/semantic.git
synced 2024-11-27 12:57:49 +03:00
c213e85e9c
The --test-arguments can be passed like this: stack build :integration-test --test-arguments "--language=ruby" --language is naively parsed right now just to avoid getting in the way of hspec's option parsing.
204 lines
7.6 KiB
Plaintext
204 lines
7.6 KiB
Plaintext
name: semantic-diff
|
|
version: 0.2.0
|
|
synopsis: Initial project template from stack
|
|
description: Please see README.md
|
|
homepage: http://github.com/github/semantic-diff#readme
|
|
author: Rob Rix, Josh Vera
|
|
maintainer: rob.rix@github.com
|
|
copyright: 2016 GitHub
|
|
category: Web
|
|
build-type: Custom
|
|
-- extra-source-files:
|
|
cabal-version: >=1.10
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
exposed-modules: Algorithm
|
|
, Alignment
|
|
, Arguments
|
|
, Category
|
|
, Data.Align.Generic
|
|
, Data.Bifunctor.Join.Arbitrary
|
|
, Data.Functor.Both
|
|
, Data.Mergeable
|
|
, Data.Mergeable.Generic
|
|
, Data.RandomWalkSimilarity
|
|
, Data.Record
|
|
, Diff
|
|
, Diff.Arbitrary
|
|
, Diffing
|
|
, DiffSummary
|
|
, Info
|
|
, Interpreter
|
|
, Language
|
|
, Language.C
|
|
, Language.JavaScript
|
|
, Language.Markdown
|
|
, Language.Ruby
|
|
, Parser
|
|
, Patch
|
|
, Patch.Arbitrary
|
|
, Paths_semantic_diff
|
|
, Prologue
|
|
, Range
|
|
, Renderer
|
|
, Renderer.JSON
|
|
, Renderer.Patch
|
|
, Renderer.Split
|
|
, Renderer.Summary
|
|
, SemanticDiff
|
|
, SES
|
|
, Source
|
|
, SourceSpan
|
|
, SplitDiff
|
|
, Syntax
|
|
, Term
|
|
, Term.Arbitrary
|
|
, TreeSitter
|
|
build-depends: base >= 4.8 && < 5
|
|
, aeson
|
|
, async-pool
|
|
, bifunctors
|
|
, blaze-html
|
|
, blaze-markup
|
|
, bytestring
|
|
, cmark
|
|
, comonad
|
|
, containers
|
|
, directory
|
|
, dlist
|
|
, filepath
|
|
, free
|
|
, gitlib
|
|
, gitlib-libgit2
|
|
, gitrev
|
|
, hashable
|
|
, kdt
|
|
, MonadRandom
|
|
, mtl
|
|
, optparse-applicative
|
|
, pointed
|
|
, protolude
|
|
, QuickCheck >= 2.8.1
|
|
, quickcheck-instances
|
|
, quickcheck-text
|
|
, recursion-schemes
|
|
, regex-compat
|
|
, semigroups
|
|
, text >= 1.2.1.3
|
|
, text-icu
|
|
, these
|
|
, tree-sitter-parsers
|
|
, vector
|
|
, wl-pprint-text
|
|
default-language: Haskell2010
|
|
default-extensions: DeriveFunctor, DeriveFoldable, DeriveTraversable, DeriveGeneric, FlexibleContexts, FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards, LambdaCase, StrictData
|
|
ghc-options: -Wall -fno-warn-name-shadowing -O2 -fprof-auto -j
|
|
|
|
executable semantic-diff
|
|
hs-source-dirs: app
|
|
main-is: Main.hs
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -static -j -O2 -pgml=script/g++
|
|
cc-options: -DU_STATIC_IMPLEMENTATION=1
|
|
cpp-options: -DU_STATIC_IMPLEMENTATION=1
|
|
build-depends: base
|
|
, semantic-diff
|
|
default-language: Haskell2010
|
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
|
|
|
executable generate-test-cases
|
|
hs-source-dirs: app, test
|
|
main-is: GenerateTestCases.hs
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -static -j -pgml=script/g++
|
|
cc-options: -DU_STATIC_IMPLEMENTATION=1
|
|
cpp-options: -DU_STATIC_IMPLEMENTATION=1
|
|
other-modules: JSONTestCase
|
|
build-depends: base
|
|
, aeson
|
|
, aeson-pretty
|
|
, bytestring
|
|
, containers
|
|
, Glob
|
|
, MissingH
|
|
, optparse-applicative
|
|
, process
|
|
, semantic-diff
|
|
, text >= 1.2.1.3
|
|
default-language: Haskell2010
|
|
default-extensions: DeriveFunctor, DeriveFoldable, DeriveTraversable, DeriveGeneric, FlexibleContexts, FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards, LambdaCase
|
|
|
|
benchmark semantic-diff-bench
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
hs-source-dirs: bench
|
|
other-modules: SemanticDiffPar
|
|
build-depends: base
|
|
, criterion
|
|
, directory
|
|
, monad-par
|
|
, mtl
|
|
, QuickCheck >= 2.8.1
|
|
, semantic-diff
|
|
, text >= 1.2.1.3
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -j -O2 -static -pgml=script/g++
|
|
default-language: Haskell2010
|
|
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
|
|
|
test-suite test
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Spec.hs
|
|
other-modules: AlignmentSpec
|
|
, CorpusSpec
|
|
, Data.Mergeable.Spec
|
|
, Data.RandomWalkSimilarity.Spec
|
|
, Diff.Spec
|
|
, DiffSummarySpec
|
|
, InterpreterSpec
|
|
, PatchOutputSpec
|
|
, RangeSpec
|
|
, Source.Spec
|
|
, TermSpec
|
|
build-depends: base
|
|
, bifunctors
|
|
, deepseq
|
|
, filepath
|
|
, Glob
|
|
, hspec >= 2.1.10
|
|
, hspec-expectations-pretty-diff
|
|
, mtl
|
|
, protolude
|
|
, QuickCheck >= 2.8.1
|
|
, quickcheck-text
|
|
, recursion-schemes >= 4.1
|
|
, semantic-diff
|
|
, text >= 1.2.1.3
|
|
, these
|
|
, vector
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -j -pgml=script/g++
|
|
default-language: Haskell2010
|
|
default-extensions: DeriveFunctor, DeriveGeneric, FlexibleContexts, FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
|
|
|
test-suite integration-test
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: SpecIntegration.hs
|
|
other-modules: SemanticGitDiffSpec
|
|
, JSONTestCase
|
|
build-depends: base
|
|
, aeson
|
|
, bytestring
|
|
, containers
|
|
, Glob
|
|
, hspec >= 2.1.10
|
|
, hspec-expectations-pretty-diff
|
|
, semantic-diff
|
|
, MissingH
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -j -pgml=script/g++
|
|
default-language: Haskell2010
|
|
default-extensions: DeriveGeneric, FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/github/semantic-diff
|