1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-07-10 00:53:19 +01:00
Files
.github
assets
diagnostics
doc
examples
src
tests
benchmarks
examples
mocked-pagers
scripts
snapshots
syntax-tests
highlighted
source
ARM Assembly
ASP
AWK
ActionScript
Apache
AppleScript
AsciiDoc
Assembly (x86_64)
Bash
BatTestCustomAssets
Batch
BibTeX
C
C-Sharp
CMake
CSS
CSV
Cabal
LICENSE.md
semantic.cabal
Clojure
CoffeeScript
Cpp
CpuInfo
Crystal
D
Dart
Diff
Dockerfile
DotENV
Elixir
Elm
Email
Erlang
EtcGroup
F#
Fish
Fortran (Fixed Form)
Fortran (Modern)
Fortran Namelist
Fstab
GLSL
Git Attributes
Git Config
Git Ignore
Go
GraphQL
Graphviz DOT
Groff
Groovy
HTML
Haskell
Hosts
INI
Ignored suffixes
JSON
Java
Java Server Page (JSP)
JavaScript
Jinja2
Julia
Kotlin
LLVM
Lean
Less
Lisp
Literate Haskell
LiveScript
Log
Lua
MATLAB
Makefile
Manpage
Markdown
MediaWiki
MemInfo
NAnt Build File
Ninja
OCaml
Objective-C
Objective-C++
PHP
Pascal
Passwd
Perl
Plaintext
PowerShell
Protocol Buffer
Puppet
PureScript
Python
QML
R
Racket
Rego
Regular Expression
Robot Framework
Ruby
Ruby Haml
Ruby On Rails
Rust
SCSS
SLS
SML
SQL
SSH Config
SSHD Config
Sass
Scala
Slim
Solidity
Strace
Stylus
Svelte
Swift
Syslog
SystemVerilog
TOML
Tcl
TeX
Terraform
Textile
TypeScript
TypeScriptReact
Verilog
VimL
Vue
Vyper
XAML
XML
YAML
Zig
dash
gnuplot
http-request-response
jsonnet
nginx
nim
nix
orgmode
reStructuredText
resolv.conf
varlink
BatTestCustomAssets.sublime-syntax
compare_highlighted_versions.py
create_highlighted_versions.py
regression_test.sh
test_custom_assets.sh
update.sh
utils
.gitattributes
assets.rs
integration_tests.rs
no_duplicate_extensions.rs
snapshot_tests.rs
tester.rs
.gitignore
.gitmodules
CHANGELOG.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
NOTICE
README.md
build.rs
bat/tests/syntax-tests/source/Cabal/semantic.cabal
2021-06-01 22:36:56 +02:00

248 lines
7.5 KiB
Plaintext
Vendored

cabal-version: 2.4
name: semantic
version: 0.11.0.1
synopsis: Framework and executable for analyzing and diffing untrusted code.
description: Semantic is a library for parsing, analyzing, and comparing source code across many languages.
homepage: http://github.com/github/semantic#readme
bug-reports: https://github.com/github/semantic/issues
license: MIT
license-file: LICENSE
author: The Semantic authors
maintainer: opensource+semantic@github.com
copyright: (c) 2015-2020 GitHub, Inc.
category: Language
build-type: Simple
stability: alpha
extra-source-files: README.md
tested-with: GHC == 8.10.1
flag release
description: Build with optimizations on (for CI or deployment builds)
default: False
-- GHC extensions shared between targets
common haskell
default-language: Haskell2010
default-extensions: StrictData
ghc-options:
-Weverything
-Wno-missing-local-signatures
-Wno-missing-import-lists
-Wno-implicit-prelude
-Wno-safe
-Wno-unsafe
-Wno-name-shadowing
-Wno-monomorphism-restriction
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-star-is-type
cpp-options:
-DBAZEL_BUILD=0
if (impl(ghc >= 8.8))
ghc-options: -Wno-missing-deriving-strategies
if (impl(ghc >= 8.10))
ghc-options:
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
common executable-flags
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -A4m -n2m"
library
import: haskell
hs-source-dirs: src
exposed-modules: Control.Carrier.Parse.Measured
, Control.Carrier.Parse.Simple
-- Effects
, Control.Effect.Parse
, Control.Effect.Sum.Project
, Control.Effect.Timeout
-- General datatype definitions & generic algorithms
, Data.Blob
, Data.Blob.IO
, Data.Duration
, Data.Edit
, Data.Error
, Data.Flag
, Data.Graph.Algebraic
, Data.Handle
, Data.Maybe.Exts
, Data.Semigroup.App
-- Parser glue
, Parsing.Parser
, Parsing.TreeSitter
-- API
, Semantic.Api
, Semantic.Api.Bridge
, Semantic.Api.StackGraph
, Semantic.Api.Symbols
, Semantic.Api.Terms
, Semantic.CLI
, Semantic.Config
, Semantic.Env
, Semantic.IO
, Semantic.Task
, Semantic.Task.Files
, Semantic.Telemetry
, Semantic.Telemetry.AsyncQueue
, Semantic.Telemetry.Error
, Semantic.Telemetry.Log
, Semantic.Telemetry.Stat
, Semantic.Util
, Semantic.Util.Pretty
, Semantic.Version
-- Serialization
, Serializing.Format
, Serializing.SExpression.Precise
-- Custom Prelude
autogen-modules: Paths_semantic
other-modules: Paths_semantic
-- Except in case of vendored dependencies, these deps should be expressed
-- as caret-operator bounds relative to a version in Stackage.
-- These are currently pinned to lts-13.13.
build-depends:
, aeson ^>= 1.4.2.0
, algebraic-graphs ^>= 0.3
, ansi-terminal >= 0.8.2 && <1
, async ^>= 2.2.1
, base >= 4.13 && < 5
, bytestring ^>= 0.10.8.2
, containers ^>= 0.6.0.1
, directory-tree ^>= 0.12.1
, filepath ^>= 1.4.2.1
, fused-effects ^>= 1.1
, ghc-prim >= 0.5 && < 0.7
, hostname ^>= 1.0
, hscolour ^>= 1.24.4
, lens >= 4.17 && < 4.20
, network ^>= 2.8.0.0
, network-uri ^>= 2.6.1.0
, optparse-applicative >= 0.14.3 && < 0.16
, pathtype ^>= 0.8.1
, pretty-show ^>= 1.9.5
, proto-lens >= 0.5 && < 0.8
, semantic-analysis ^>= 0
, semantic-ast
, semantic-codeql ^>= 0
, semantic-go ^>= 0
, semantic-java ^>= 0
, semantic-json ^>= 0
, semantic-php ^>= 0
, semantic-proto ^>= 0
, semantic-python ^>= 0
, semantic-ruby ^>= 0
, semantic-scope-graph ^>= 0
, semantic-source ^>= 0.1.0.1
, semantic-tags ^>= 0
, semantic-tsx ^>= 0
, semantic-typescript ^>= 0
, semilattices ^>= 0.0.0.3
, split ^>= 0.2.3.3
, stm-chans ^>= 3.0.0.4
, text ^>= 1.2.3.2
, time >= 1.8.0.2 && < 1.10
, tree-sitter ^>= 0.9.0.1
, tree-sitter-go ^>= 0.5.0.0
, tree-sitter-java ^>= 0.7.0.0
, tree-sitter-json ^>= 0.7.0.0
, tree-sitter-php ^>= 0.5.0.0
, tree-sitter-python ^>= 0.9.0.1
, tree-sitter-ql ^>= 0.1.0.1
, tree-sitter-ruby ^>= 0.5.0.0
, tree-sitter-tsx ^>= 0.5.0.0
, tree-sitter-typescript ^>= 0.5.0.0
, unix ^>= 2.7.2.2
executable semantic
import: haskell, executable-flags
hs-source-dirs: app
main-is: Main.hs
build-depends:
, base
, semantic
test-suite test
import: haskell, executable-flags
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Data.Graph.Spec
, Data.Language.Spec
, Data.Semigroup.App.Spec
, Integration.Spec
, Semantic.Spec
, Semantic.CLI.Spec
, Semantic.IO.Spec
, Semantic.Stat.Spec
, Tags.Spec
, SpecHelpers
, Generators
, Properties
build-depends:
, algebraic-graphs ^>= 0.3
, base >= 4.13 && < 5
, bytestring ^>= 0.10.8.2
, fused-effects
, Glob ^>= 0.10.0
, hedgehog ^>= 1
, hspec >= 2.6 && <3
, hspec-expectations ^>= 0.8.2
, network ^>= 2.8.0.0
, pathtype ^>= 0.8.1
, semantic
, semantic-analysis
, semantic-ast
, semantic-proto
, semantic-source ^>= 0.1.0.1
, semantic-tags
, semilattices
, tasty ^>= 1.2.3
, tasty-golden ^>= 2.3.2
, tasty-hedgehog ^>= 1.0.0.1
, tasty-hspec ^>= 1.1.5.1
, tasty-hunit ^>= 0.10.0.2
test-suite parse-examples
import: haskell, executable-flags
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Examples.hs
build-depends:
, async ^>= 2.2.1
, base
, fused-effects ^>= 1.1
, Glob
, lens >= 4.17 && < 4.20
, pathtype ^>= 0.8.1
, process ^>= 1.6.3.0
, semantic
, semantic-analysis ^>= 0
, semantic-ast
, semantic-proto ^>= 0
, tasty
, tasty-hunit
, text ^>= 1.2.3.2
benchmark benchmarks
import: haskell, executable-flags
hs-source-dirs: bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Tagging
ghc-options: -static
build-depends:
, base
, fused-effects ^>= 1.1
, gauge ^>= 0.2.5
, Glob
, pathtype ^>= 0.8.1
, semantic
, semantic-analysis ^>= 0
, semantic-proto
source-repository head
type: git
location: https://github.com/github/semantic