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
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
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
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
Patrick Thomson
0083fb4812
Give GHC a little more memory.
2019-06-10 18:22:34 -04:00
Patrick Thomson
e316aec4a9
see if a simpler travis invocation will help?
2019-06-10 17:54:36 -04:00
Patrick Thomson
e547afb151
Merge pull request #106 from github/update-development-docs
...
Update development docs with information about Nix-style builds.
2019-06-10 16:52:27 -04:00
Timothy Clem
c62a7accf5
OK, try layer caching again now that we don't submodule
2019-06-10 13:18:08 -07:00
Patrick Thomson
defc921eae
Merge branch 'master' into update-development-docs
2019-06-10 16:06:22 -04:00
Patrick Thomson
eaf1378383
Merge pull request #98 from lalaithion/gitparsing
...
Use Attoparsec for parsing git output instead of manually splitting Text
2019-06-10 15:35:43 -04:00
Timothy Clem
7d2155904b
Merge remote-tracking branch 'origin/use-hackage-not-submodules' into build-docker-image
2019-06-10 12:32:10 -07:00
Patrick Thomson
2f4f5d8c2d
Merge branch 'master' into update-development-docs
2019-06-10 15:05:08 -04:00
Patrick Thomson
90562edd53
Fixes for build time.
2019-06-10 15:03:59 -04:00
Patrick Thomson
dcf4a577f7
Use Hackage package rather than submodules.
2019-06-10 13:29:11 -04:00
Patrick Thomson
aa02a62f76
Merge branch 'master' into gitparsing
2019-06-10 12:19:37 -04:00