1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

28400 Commits

Author SHA1 Message Date
Rob Rix
d7fedfdc3d
Leave functionDefinition the way it was. 2019-06-05 15:51:07 -04:00
Rob Rix
c550b6bbe1
Just use expressions. 2019-06-05 15:44:04 -04:00
Rob Rix
df59eaccdb
Blocks can be expressions. 2019-06-05 15:41:56 -04:00
Rob Rix
e106819e25
Use block in while. 2019-06-05 15:37:15 -04:00
Rob Rix
5c2329cde0
Use block in functionDefinition. 2019-06-05 15:35:48 -04:00
Rob Rix
e2438a49ac
Add a rule for blocks. 2019-06-05 15:34:33 -04:00
Rob Rix
5121e3698d
Bump haskell-tree-sitter to bump tree-sitter. 2019-06-05 15:28:05 -04:00
Rob Rix
eb6d12d661
Fail on incompatible parser versions. 2019-06-05 14:56:09 -04:00
Rob Rix
44f41e5fc8
Bump haskell-tree-sitter for incompatible version checks. 2019-06-05 14:55:58 -04:00
Rob Rix
5a35598213
Return the actual exception when parsing/assignment fails. 2019-06-05 14:28:28 -04:00
Douglas Creager
7364e16494
Merge pull request #94 from github/docker-hub
Add a Dockerfile that builds the CLI tool
2019-06-05 14:24:16 -04:00
joshvera
33e267151a WIP 2019-06-05 14:17:12 -04:00
Rob Rix
bc80f6dc20
Bump haskell-tree-sitter for bumps to the grammars. 2019-06-05 14:12:00 -04:00
Douglas Creager
4f947565ac Edits from tclem 2019-06-05 13:22:45 -04:00
Patrick Thomson
79fa92e9e6 Bump minimum base version to 4.12.0.0.
This should hopefully provide a more informative error message when
someone attempts to build the project with too old of a GHC.
2019-06-05 10:38:51 -04:00
Douglas Creager
c46ed1dc87 Merge branch 'master' into docker-hub
* master:
  Always write the GHC environment files.
  I was working on the wrong branch, smh
  Use source-repository-package to pin Git deps in cabal.
2019-06-05 10:24:18 -04:00
Douglas Creager
e3f42ee277 Compile dependencies separately
So that they can be more aggressively cached by Docker!  The Docker hub
will take advantage of this, too, which should make our autobuilds
faster.
2019-06-05 10:21:15 -04:00
Patrick Thomson
f7bc9b85ee
Merge pull request #91 from github/use-smarter-cabal-project-when-possible
Use source-repository-package to pin Git deps in cabal.
2019-06-05 10:16:50 -04:00
Douglas Creager
353c99db2d Add a Dockerfile that builds the CLI tool 2019-06-05 09:51:31 -04:00
Patrick Thomson
b7c8df354a Merge remote-tracking branch 'origin/master' into use-smarter-cabal-project-when-possible 2019-06-05 09:13:57 -04:00
Patrick Thomson
94f7188dc1 Always write the GHC environment files. 2019-06-05 09:13:43 -04:00
Rob Rix
5e969832c4
Merge pull request #93 from github/less-travis
Only build PR branches once in Travis
2019-06-05 09:05:01 -04:00
Douglas Creager
d2d62a457a Only build PR branches once in Travis
We didn't have a branch exclusion filter in place, so Travis has been
building each PR twice.
2019-06-05 08:34:33 -04:00
Patrick Thomson
122a90a14a
Merge pull request #90 from github/run-parseexamples-on-ci
Run the parse-examples checks on CI.
2019-06-04 19:44:11 -04:00
Patrick Thomson
2bb3b026ca I was working on the wrong branch, smh 2019-06-04 19:15:25 -04:00
Patrick Thomson
6e7fce0df7 Revert "We're trying to run the proto3 tests, see if this stops it"
This reverts commit da4ab0c4ee.
2019-06-04 19:14:40 -04:00
Patrick Thomson
da4ab0c4ee We're trying to run the proto3 tests, see if this stops it 2019-06-04 19:08:54 -04:00
Patrick Thomson
1e122916f0 flailing attempt to get console output during long git checkouts 2019-06-04 19:05:06 -04:00
Patrick Thomson
311c56f434 Use source-repository-package to pin Git deps in cabal.
Right now our CI build cycle time is ~20 minutes, mostly because we're
rebuilding our vendored packages every time. This should help, at
least to some degree, with that.
2019-06-04 18:59:56 -04:00
joshvera
6346865828 bump-haskell-tree-sitter 2019-06-04 18:48:28 -04:00
Patrick Thomson
20b53c508b Let's see if we can trade Java for golang/go. 2019-06-04 18:25:39 -04:00
Patrick Thomson
d70ecfd27b The builder can't check out elasticsearch and go quickly enough. 2019-06-04 18:02:22 -04:00
joshvera
7f5391ede0 ++haskell-tree-sitter for mapped types 2019-06-04 17:51:08 -04:00
Patrick Thomson
840ce490ce Run the parse-examples checks on CI.
🎩 @tclem
2019-06-04 17:11:25 -04:00
Rob Rix
c562987921
Merge pull request #76 from github/build-semantic-core-in-travis
Build semantic-core in CI.
2019-06-04 16:41:31 -04:00
Patrick Thomson
4c358b495e
🤠 Tighten up some language about stack vs. cabal 2019-06-04 16:00:03 -04:00
Rob Rix
1a9840622c
Merge pull request #80 from github/remove-redundant-hasspan
Remove redundant HasSpan class.
2019-06-04 15:34:50 -04:00
Patrick Thomson
51a0749386 And run the semantic-core specs. 2019-06-04 15:29:00 -04:00
Patrick Thomson
43b65ee190 Merge remote-tracking branch 'origin/master' into build-semantic-core-in-travis 2019-06-04 15:28:40 -04:00
Patrick Thomson
5d86878d24
Merge pull request #64 from yuanwang-wf/stack
Ignore stack.yaml and stack.yaml.lock.
2019-06-04 15:27:45 -04:00
Yuan Wang
daa93db5b2 ignore stack.yaml and update readme 2019-06-04 13:07:20 -06:00
Patrick Thomson
0097a08626
Merge pull request #42 from github/parse-core
Institute parser for Core.
2019-06-04 14:40:55 -04:00
Patrick Thomson
3e1f3bcb9f Remove redundant HasSpan class.
We already have a classy-lenses-style HasSpan class, provided by Data.Span itself, so we don't need Data.Abstract.HasSpan.
2019-06-04 14:40:09 -04:00
Patrick Thomson
470f469568 Explicitly build the executable target. 2019-06-04 14:29:46 -04:00
Patrick Thomson
b135c62444 Address @robrix's suggestions. 2019-06-04 14:19:35 -04:00
Patrick Thomson
f0c880c700 Fix tabs that crept into this file 😠 2019-06-04 14:19:12 -04:00
Rob Rix
ca325719fc
Merge pull request #60 from github/support-head-in-git-cli
Support --sha="HEAD" in `semantic parse --symbols --gitdir`.
2019-06-04 12:50:49 -04:00
Yuan Wang
73bedd41d1 pin to the right fastsum 2019-06-04 10:48:13 -06:00
Patrick Thomson
c148a9ab8b Build semantic-core in CI. 2019-06-04 11:48:03 -04:00
Patrick Thomson
0501336f26 Support --sha="HEAD" in semantic parse --symbols --gitdir.
This is a temporary bandaid to make performance debugging easier. We
are going to tackle the issue of proper Git integration in #38.
2019-06-04 11:43:33 -04:00