Patrick Thomson
d7b76d3be4
Don't set the handles to binary mode.
2019-09-29 18:57:35 -04:00
Patrick Thomson
a686344145
Add failing unit tests.
2019-09-29 16:57:11 -04:00
Patrick Thomson
4f67f76b8b
Merge pull request #286 from github/test-ls-tree
...
Add test for Semantic.Git.lsTree.
2019-09-29 15:47:42 -04:00
Patrick Thomson
79dcbfd1ca
Add test for Semantic.Git.lsTree.
...
I have a proposed speedup for lsTree, but since this resides on a
critical path for downstream systems, I want to make sure that I don't
break this while I'm at it.
I really should rewrite this test to use tasty-hspec, but it'd be a
long slog, and I have better things to do.
2019-09-29 13:44:14 -04:00
Patrick Thomson
d59fab955d
Merge pull request #284 from github/fix-benchmarks
...
Make benchmarks operate and switch to `gauge`.
2019-09-27 16:56:20 -04:00
Patrick Thomson
65060868bc
Make benchmarks operate and switch to gauge
.
...
I find myself wanting to benchmark some I/O code, so I decided to look
at our benchmark suite, to find that it had bitrotted somewhat. This
patch brings it back up to working status, switches to `gauge` (which
is more accurate than `criteron` and incurs fewer dependencies), and
sprinkles some typed paths on there.
2019-09-27 13:18:30 -04:00
Rob Rix
c34b8fe568
Merge pull request #283 from github/remove-language-cli-specification
...
Remove FILE:LANG argument from CLI
2019-09-26 23:26:00 -04:00
Timothy Clem
15cd4857ce
Remove FILE:LANG argument from CLI
2019-09-26 14:17:24 -07:00
Patrick Thomson
29e42f99ee
Merge pull request #282 from github/further-leancheck-divestment
...
Move some more unit tests to Hedgehog + tasty.
2019-09-25 17:56:24 -04:00
Patrick Thomson
a1b50b1f51
Convert Numeric.Spec to use Hedgehog.
2019-09-25 17:09:23 -04:00
Patrick Thomson
89b0b4ca45
Remove otiose Listable instances for App and AppMerge.
2019-09-25 16:59:45 -04:00
Patrick Thomson
a2a757c9f5
Convert Data.Semigroup.App.Spec to use Hedgehog.
2019-09-25 16:59:27 -04:00
Patrick Thomson
9158e31193
Add Properties module for easy tests of associativity/monoidality.
2019-09-25 16:59:06 -04:00
Patrick Thomson
16eec4f4df
Merge pull request #279 from github/more-path-safety
...
Make readBlobsFromDir use a typed path.
2019-09-24 19:19:49 -04:00
Patrick Thomson
c0ba458d54
Merge branch 'master' into more-path-safety
2019-09-24 18:16:27 -04:00
Patrick Thomson
247e4bed54
Merge pull request #277 from github/build-sha-as-config-version
...
Include real build sha in production logs
2019-09-24 18:16:01 -04:00
Patrick Thomson
5ce6f8ba5b
Merge pull request #273 from github/fix-hacky-test-slurping
...
Improve parsing of FileCheck-style tags.
2019-09-24 18:15:44 -04:00
Patrick Thomson
c8b6f0be08
Merge branch 'master' into fix-hacky-test-slurping
2019-09-24 17:51:29 -04:00
Patrick Thomson
4f52156040
Merge branch 'master' into build-sha-as-config-version
2019-09-24 17:50:07 -04:00
Patrick Thomson
fa1f07bb1e
remove unnecessary Path.toString call
2019-09-24 17:49:32 -04:00
Patrick Thomson
05e6163305
Merge pull request #280 from github/sinister-orphan-machinations
...
Remove unused orphan Listable instances.
2019-09-24 17:47:20 -04:00
Patrick Thomson
432646192c
Merge branch 'master' into sinister-orphan-machinations
2019-09-24 17:32:32 -04:00
Patrick Thomson
439d694200
CyclomaticComplexity doesn't need an instance either.
2019-09-24 17:28:35 -04:00
Patrick Thomson
936d67fc77
Nothing uses ListableF anymore.
2019-09-24 17:26:26 -04:00
Patrick Thomson
39e404451d
Remove instances for These and Gram.
2019-09-24 17:23:18 -04:00
Patrick Thomson
a4d42fbae6
Remove Free/FreeF and drop free dependency.
2019-09-24 17:21:45 -04:00
Patrick Thomson
a6d19c1ef1
Merge branch 'master' into build-sha-as-config-version
2019-09-24 17:17:53 -04:00
Patrick Thomson
759e38a49d
Merge branch 'master' into fix-hacky-test-slurping
2019-09-24 17:17:47 -04:00
Patrick Thomson
3ebd49b093
Merge pull request #278 from github/remove-dead-deps
...
Remove outdated dependencies.
2019-09-24 17:17:33 -04:00
Patrick Thomson
67ed31e65f
Remove unused syntax Listable instances.
...
Orphan instances don't come for free: they slow down compilation both
directly and indirectly (in that modules that use orphans pay extra
costs for searching the instance space, according to SPJ).
2019-09-24 17:15:41 -04:00
Patrick Thomson
681fe6b816
Merge branch 'master' into fix-hacky-test-slurping
2019-09-24 17:07:05 -04:00
Patrick Thomson
5fe8546298
Merge branch 'master' into build-sha-as-config-version
2019-09-24 17:06:46 -04:00
Patrick Thomson
9a6185e095
Make readBlobsFromDir use a typed path.
2019-09-24 17:03:45 -04:00
Patrick Thomson
42da571531
Merge branch 'master' into remove-dead-deps
2019-09-24 17:00:20 -04:00
Patrick Thomson
71e47b7677
Merge pull request #275 from github/make-parse-examples-tasty
...
Rewrite parse-examples target to use tasty.
2019-09-24 16:58:21 -04:00
Patrick Thomson
bec69d89fc
Remove outdated dependencies.
...
Semantic used to have web-server related things in it. This is no
longer the case: it's a CLI app through and through. As such, we don't
need these dependencies.
2019-09-24 16:30:23 -04:00
Timothy Clem
46fa12303b
Include real build sha in production logs
2019-09-24 13:23:37 -07:00
Patrick Thomson
401b17f7d6
Merge branch 'make-parse-examples-tasty' of https://github.com/github/semantic into make-parse-examples-tasty
2019-09-24 16:14:02 -04:00
Patrick Thomson
875c302670
Build these concurrently.
2019-09-24 16:07:23 -04:00
Rob Rix
33109267bc
Merge branch 'master' into make-parse-examples-tasty
2019-09-24 13:49:33 -04:00
Patrick Thomson
f44228a5f1
Merge branch 'master' into fix-hacky-test-slurping
2019-09-24 11:47:57 -04:00
Patrick Thomson
499c92c17d
Merge branch 'remove-regular-compile'
2019-09-24 10:59:19 -04:00
Patrick Thomson
978018c1e1
Rewrite parse-examples target to use tasty.
...
This gets us a little bit of a speed boost, lets us drop a couple
dependencies, and makes us use streaming libraries.
2019-09-24 03:17:25 -04:00
Patrick Thomson
a96a0e105a
Revert "Remove special case from Files.readBlobs."
...
This reverts commit 6fe879d908
.
2019-09-24 01:18:13 -04:00
Patrick Thomson
6fe879d908
Remove special case from Files.readBlobs.
2019-09-24 01:17:11 -04:00
Patrick Thomson
18a1a0d8b7
Avoid 'head', which is partial.
2019-09-24 00:57:22 -04:00
Patrick Thomson
1731df8bd8
Stray import.
2019-09-23 22:16:25 -04:00
Patrick Thomson
3926742c1d
Improve parsing of FileCheck-style tags.
...
This used to operate via some fast-and-loose (ab)use of the Trifecta
API. A simpler way to do things is to use streaming-bytestring to load
a file line by line and parse directives until we encounter program text.
2019-09-23 22:00:44 -04:00
Patrick Thomson
6dcbe96a0c
Fix warnings in Language.Python.Core.
2019-09-23 19:59:23 -04:00
Patrick Thomson
1990e2379b
Merge remote-tracking branch 'origin/master' into remove-regular-compile
2019-09-23 19:56:08 -04:00