-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from hadolint/improved-parser
Parser rewrite
- Loading branch information
Showing
46 changed files
with
2,385 additions
and
2,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
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: 4064f903443322af4bc07da09abc22ee61ae143bfcffb403add7b327cd7b13dd | ||
|
||
name: language-docker | ||
version: 9.0.0 | ||
synopsis: Dockerfile parser, pretty-printer and embedded DSL | ||
description: All functions for parsing and pretty-printing Dockerfiles are exported through @Language.Docker@. For more fine-grained operations look for specific modules that implement a certain functionality. | ||
See the <https://github.com/hadolint/language-docker GitHub project> for the source-code and examples. | ||
category: Development | ||
homepage: https://github.com/hadolint/language-docker#readme | ||
bug-reports: https://github.com/hadolint/language-docker/issues | ||
author: Lukas Martinelli, | ||
Pedro Tacla Yamada, | ||
José Lorenzo Rodríguez | ||
maintainer: [email protected] | ||
copyright: Lukas Martinelli, Copyright (c) 2016, | ||
Pedro Tacla Yamada, Copyright (c) 2016, | ||
José Lorenzo Rodríguez, Copyright (c) 2017 | ||
license: GPL-3 | ||
license-file: LICENSE | ||
build-type: Simple | ||
extra-source-files: | ||
README.md | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/hadolint/language-docker | ||
|
||
library | ||
exposed-modules: | ||
Language.Docker | ||
Language.Docker.Parser | ||
Language.Docker.PrettyPrint | ||
Language.Docker.Syntax | ||
other-modules: | ||
Language.Docker.Parser.Arguments | ||
Language.Docker.Parser.Cmd | ||
Language.Docker.Parser.Copy | ||
Language.Docker.Parser.Expose | ||
Language.Docker.Parser.From | ||
Language.Docker.Parser.Healthcheck | ||
Language.Docker.Parser.Instruction | ||
Language.Docker.Parser.Pairs | ||
Language.Docker.Parser.Prelude | ||
Language.Docker.Parser.Run | ||
Paths_language_docker | ||
hs-source-dirs: | ||
src | ||
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-unused-do-bind -fno-warn-orphans | ||
build-depends: | ||
base >=4.13 && <5 | ||
, bytestring >=0.10 | ||
, containers | ||
, data-default-class | ||
, megaparsec >=8.0 | ||
, prettyprinter | ||
, split >=0.2 | ||
, text | ||
, time | ||
default-language: Haskell2010 | ||
|
||
test-suite hspec | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
other-modules: | ||
Language.Docker.IntegrationSpec | ||
Language.Docker.ParserSpec | ||
Paths_language_docker | ||
hs-source-dirs: | ||
test | ||
build-depends: | ||
HUnit >=1.2 | ||
, QuickCheck | ||
, base >=4.13 && <5 | ||
, bytestring >=0.10 | ||
, containers | ||
, data-default-class | ||
, hspec | ||
, language-docker | ||
, megaparsec >=8.0 | ||
, prettyprinter | ||
, split >=0.2 | ||
, text | ||
, time | ||
default-language: Haskell2010 |
Oops, something went wrong.