From 1c7962b4a18534aa2e2d84a82459b15492a9a313 Mon Sep 17 00:00:00 2001 From: joshvera Date: Fri, 22 Sep 2017 12:59:17 -0400 Subject: [PATCH 1/2] addDependentFileRelative for json --- src/Language/JSON/Grammar.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Language/JSON/Grammar.hs b/src/Language/JSON/Grammar.hs index adfc262b3..06b708cd3 100644 --- a/src/Language/JSON/Grammar.hs +++ b/src/Language/JSON/Grammar.hs @@ -5,6 +5,9 @@ import Language.Haskell.TH import TreeSitter.Language import TreeSitter.JSON +-- Regenerate template haskell code when these files change: +addDependentFileRelative "../../../vendor/haskell-tree-sitter/languages/json/vendor/tree-sitter-json/src/parser.c" + -- | Statically-known rules corresponding to symbols in the grammar. -- v2 - bump this to regenerate mkSymbolDatatype (mkName "Grammar") tree_sitter_json From 85ee878bdc864052c755df11292d331596360ef8 Mon Sep 17 00:00:00 2001 From: joshvera Date: Fri, 22 Sep 2017 13:02:16 -0400 Subject: [PATCH 2/2] Remove snapshot.yaml --- snapshot.yaml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 snapshot.yaml diff --git a/snapshot.yaml b/snapshot.yaml deleted file mode 100644 index e98ce081f..000000000 --- a/snapshot.yaml +++ /dev/null @@ -1,9 +0,0 @@ -resolver: nightly-2017-09-10 -packages: -- c-storable-deriving-0.1.3 -- cmark-gfm-0.1.3 -- Cabal-1.24.2.0 -- extra-1.5.3 -- process-1.4.3.0 -- optparse-applicative-0.13.2.0 -- netrc-0.2.0.0