1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

28400 Commits

Author SHA1 Message Date
Patrick Thomson
0c0d3200e8
Merge pull request #141 from github/remove-otiose-instance
Remove HasDefault and Primitive instances for Language.
2019-06-13 16:41:12 -04:00
Patrick Thomson
51a7e9d3b8
Merge branch 'master' into remove-otiose-instance 2019-06-13 15:07:14 -04:00
Patrick Thomson
8db3050f57
Merge pull request #133 from github/try-two-ci-jobs
Disable optimizations on CI builds.
2019-06-13 15:07:03 -04:00
Patrick Thomson
4ee9c9bc0a
Merge branch 'master' into remove-otiose-instance 2019-06-13 15:06:46 -04:00
Patrick Thomson
968ea8b431
Merge branch 'master' into try-two-ci-jobs 2019-06-13 14:49:03 -04:00
Patrick Thomson
bafaf64adf
Merge pull request #142 from github/require-newest-cabal
Require Cabal 2.4.
2019-06-13 14:44:51 -04:00
Patrick Thomson
0c639db9c4 And these named fields. 2019-06-13 14:38:08 -04:00
Patrick Thomson
c368c43dce 🔥 Finite instance. 2019-06-13 14:21:27 -04:00
Patrick Thomson
668d1f396f Require Cabal 2.4. 2019-06-13 14:20:22 -04:00
Patrick Thomson
e39fddd489
Merge branch 'master' into try-two-ci-jobs 2019-06-13 14:16:35 -04:00
Patrick Thomson
838f09e31c Remove HasDefault and Primitive instances for Language.
Those instances are handled by the bridged data types in `Semantic.Api`.
Keeping this around is both unnecessary and is making #139 go all
wobbly for reasons that are still unclear to me.
2019-06-13 14:14:57 -04:00
Patrick Thomson
87612594f0 This is farcical. I give in, for now. 2019-06-12 23:44:40 -04:00
Patrick Thomson
e4fdb7f492
Merge pull request #129 from github/cleaner-implicit-params
Clean up specs with some implicit parameters.
2019-06-12 23:39:58 -04:00
Patrick Thomson
6f6235186d Maybe this will help? 2019-06-12 23:14:18 -04:00
Patrick Thomson
6faa4fbf13 Pass -j2 to the Travis build.
Build times are killing us. Let's see if this helps.
2019-06-12 17:22:00 -04:00
Patrick Thomson
6edabbbecc
Merge branch 'master' into cleaner-implicit-params 2019-06-12 17:21:01 -04:00
Patrick Thomson
c6607e4292
Merge pull request #125 from github/tasty-golden-scrumptious-tests
Use tasty-golden for golden tests and ditch vendored hspec-expectations package.
2019-06-12 17:19:59 -04:00
Patrick Thomson
d50c08152b forgot one last .json file 2019-06-12 16:45:33 -04:00
Patrick Thomson
a4652120a7 Fix test cases for builders (which don't have jd). 2019-06-12 16:40:28 -04:00
Patrick Thomson
946c561725 Merge remote-tracking branch 'origin/tasty-golden-scrumptious-tests' into cleaner-implicit-params 2019-06-12 15:01:42 -04:00
Patrick Thomson
2795bc7357 somehow lost this -O0 2019-06-12 14:50:18 -04:00
Patrick Thomson
2e84c63613 Use verbose output when downloading hackage snapshot. 2019-06-12 14:01:50 -04:00
Patrick Thomson
9b0cae0975 Use verbose output when downloading hackage snapshot. 2019-06-12 13:59:32 -04:00
Patrick Thomson
bfdb4a1de7 Clean up specs with some implicit parameters.
Test cases are a good use of `-XImplicitParams`, because often one
finds oneself plumbing a bunch of parameters obtained from IO through
a dozen layers of pure functions. Implicit parameters make this sort
of passing significantly easier.

Fixes #128.
2019-06-12 13:55:14 -04:00
Patrick Thomson
7d88f930cb Fix sentence fragment. 2019-06-12 13:27:34 -04:00
Patrick Thomson
6a15695195 Even more unused imports. 2019-06-12 13:16:34 -04:00
Patrick Thomson
b8cb9d1bfa Remove unused imports. 2019-06-12 12:52:11 -04:00
Patrick Thomson
14bbf6856b Kill verbatim, since we have more principled golden tests now. 2019-06-12 12:46:30 -04:00
Patrick Thomson
11442cf772 Add more bounds. 2019-06-12 12:37:40 -04:00
Patrick Thomson
3363eccfdf Better comments and test labels. 2019-06-12 12:29:11 -04:00
Patrick Thomson
acbacbe779 Use golden tests for the CLI. 2019-06-12 12:26:37 -04:00
Patrick Thomson
0292506ebd Account for occasional race conditions in testsForLanguage.
Not sure where this is coming from, but we don't want the builders to
get stuck.
2019-06-12 12:26:02 -04:00
Patrick Thomson
6a24b9c793 Fix whitespace changes in hash fixture. 2019-06-12 11:34:54 -04:00
Patrick Thomson
99c4bb21f8 Overhaul test harnesses and add tasty bounds. 2019-06-12 11:30:20 -04:00
Patrick Thomson
2754e26e9a Port over Integration.hs. 2019-06-12 11:04:42 -04:00
Rob Rix
af5c06b76f
Merge pull request #124 from github/shiftkey-patch-1
remove stray hyphen
2019-06-12 09:29:02 -04:00
Brendan Forster
1e57b63cdc
remove stray hyphen 2019-06-12 10:25:30 -03:00
Timothy Clem
c97f3582bc
Merge pull request #117 from github/build-docker-image
Build (and publish) docker image for the semantic CLI
2019-06-11 15:19:31 -07:00
Timothy Clem
e7084c5398
Merge branch 'master' into build-docker-image 2019-06-11 14:45:15 -07:00
Patrick Thomson
23e8d3ae45
Merge pull request #110 from github/use-hackage-not-submodules
Use Hackage packages rather than submodules.
2019-06-11 16:07:09 -04:00
Patrick Thomson
8b3bedcd54 Don't try to download 2.9 GB of examples. 2019-06-11 15:41:13 -04:00
Patrick Thomson
32a581f31a More robust example parsing. 2019-06-11 14:54:48 -04:00
Patrick Thomson
4853d9796f Oops. 2019-06-11 11:23:56 -04:00
Patrick Thomson
a157e4a1b4 Don't clutter the workdir. 2019-06-11 11:22:04 -04:00
Patrick Thomson
039e187819 Fix travis invocation and add more bounds. 2019-06-11 11:05:10 -04:00
Patrick Thomson
6685ef1425
Merge branch 'master' into use-hackage-not-submodules 2019-06-10 20:22:44 -04:00
Patrick Thomson
7f9b3671bf Attempt to clone the vendor dir and its examples in clone script. 2019-06-10 19:30:11 -04:00
Timothy Clem
15f6889158 Do the latest tag last 2019-06-10 16:07:47 -07:00
Timothy Clem
5a9d649a7b Script to make publishing docker image easier 2019-06-10 16:06:01 -07:00
Patrick Thomson
7aeb88227a Just don't optimize these specs for now. 2019-06-10 18:53:20 -04:00