1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Get the tree-sitter-go package from the submodule.

This commit is contained in:
Rob Rix 2017-08-11 08:35:07 -04:00
parent 7ba37de6cd
commit ace55d00ba
4 changed files with 1 additions and 36 deletions

View File

@ -1,2 +0,0 @@
import Distribution.Simple
main = defaultMain

View File

@ -1,25 +0,0 @@
name: tree-sitter-go
version: 0.1.0
synopsis: tree-sitter go language bindings
description: Please see README.md
homepage: https://github.com/github/semantic-diff#readme
author: semantic-code
maintainer: tclem@github.com
copyright: 2017 GitHub
category: Web
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: TreeSitter.Go
build-depends: base >= 4.7 && < 5
, haskell-tree-sitter
default-language: Haskell2010
default-extensions: FlexibleInstances, OverloadedStrings, NoImplicitPrelude, RecordWildCards
c-sources: vendor/tree-sitter-go/src/parser.c
source-repository head
type: git
location: https://github.com/github/semantic-diff

View File

@ -1,8 +0,0 @@
module TreeSitter.Go
( tree_sitter_go
) where
import Foreign.Ptr
import TreeSitter.Language
foreign import ccall unsafe "vendor/tree-sitter-go/src/parser.c tree_sitter_go" tree_sitter_go :: Ptr Language

@ -1 +1 @@
Subproject commit 025ece6ddcdf3e3cbc6c865e2d2c010217fbf90f
Subproject commit 6d4724062c35cc715192f136bd8dd1f914f641f1