1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 12:57:49 +03:00
Commit Graph

148 Commits

Author SHA1 Message Date
Rob Rix
b49986a29e
📝 the flags. 2019-12-18 09:12:38 -05:00
Rob Rix
db07534694
Add a TODO. 2019-12-18 09:10:33 -05:00
Rob Rix
d2f539f59f
Keep the include paths together. 2019-12-18 09:07:01 -05:00
Rob Rix
4b8f044aab
📝 the initial build. 2019-12-18 09:05:44 -05:00
Rob Rix
75cc0ffe0a
Move the preprocessor options up. 2019-12-18 09:04:01 -05:00
Rob Rix
97a616792d
Abbreviate the build products dir. 2019-12-18 09:03:30 -05:00
Rob Rix
fc67e05872
Use relative paths to the src dirs. 2019-12-18 09:01:45 -05:00
Rob Rix
cbb45e4154
Disallow customizing the build dir. 2019-12-18 09:00:23 -05:00
Rob Rix
be39dae6a0
Quote paths when changing directories. 2019-12-18 09:00:13 -05:00
Rob Rix
3621ab3924
Build dependencies before getting the flags. 2019-12-18 08:58:19 -05:00
Rob Rix
9e7cacadb6
Disable star-is-type warnings in 8.8 as well. 2019-12-18 08:56:12 -05:00
Rob Rix
abcca95a54
Rename .ghci.semantic to .ghci.repl. 2019-12-18 08:55:27 -05:00
Rob Rix
183917ca8e
Run script/repl in dist-newstyle. 2019-12-17 17:43:31 -05:00
Rob Rix
532a983bf9
Build into our own subdir. 2019-12-17 17:43:01 -05:00
Rob Rix
9bd1226774
Conditionalize a couple of warning flags. 2019-12-17 17:33:36 -05:00
Rob Rix
9e8517f73a
Quote the GHC_ENVIRONMENT variable. 2019-12-17 17:32:44 -05:00
Rob Rix
66b714b5b9
Unset the environment file var. 2019-12-17 17:31:23 -05:00
Rob Rix
7584af304c
Build the dependencies before loading the repl. 2019-12-17 17:06:45 -05:00
Rob Rix
bae8abefe2
📝 the output_file variable. 2019-12-17 17:06:11 -05:00
Rob Rix
e13e4c46a4
Use the forward-compatible prefix. 2019-12-17 16:55:50 -05:00
Rob Rix
e0a5334395
Quote the path. 2019-12-17 16:55:40 -05:00
Rob Rix
45f2e4561e
Disable the missing-deriving-strategies warning in script/repl & ghcide. 2019-12-17 16:54:39 -05:00
Rob Rix
abe0a27c4e
🔥 the package name from the paths.
We’re determining these things ourselves so we don’t need to fuss about that.
2019-12-17 16:51:21 -05:00
Rob Rix
ed455979eb
Write the output to a specified path. 2019-12-17 16:50:26 -05:00
Rob Rix
d0412d7a88
Define an output file variable. 2019-12-17 16:49:45 -05:00
Rob Rix
c93058be1b
Use the forward-compatible alias. 2019-12-17 16:48:47 -05:00
Rob Rix
8aa0ddbc61
Quote the build dir variable. 2019-12-17 16:48:38 -05:00
Timothy Clem
f20bbb4104 Change up how we're cloning parse-examples a bit 2019-12-16 13:57:32 -08:00
Timothy Clem
a300fade41 ghci helpers can know about semantic-ruby 2019-12-16 13:57:21 -08:00
Patrick Thomson
c78529d061 Add script to fix corrupted tree-sitter Cabal stores. 2019-12-12 15:12:13 -05:00
Patrick Thomson
34f14abdb5 Merge remote-tracking branch 'origin/master' into release-0.9.0.0 2019-11-07 14:10:33 -05:00
Patrick Thomson
9855903e1f
Merge pull request #377 from github/sha-sha-sha-cha-cha-cha
Embed SHA in Docker builds by passing it in as an environment variable.
2019-11-07 13:59:28 -05:00
Rob Rix
cef6893a73
Merge pull request #374 from github/multi-component-ghcide-setup
Multi component ghcide setup
2019-11-07 13:32:20 -05:00
Timothy Clem
8f4d405070 Various versions of sed and prompt before push 2019-11-07 10:00:01 -08:00
Timothy Clem
cd92228d1e Merge remote-tracking branch 'origin/master' into sha-sha-sha-cha-cha-cha 2019-11-07 09:25:07 -08:00
Timothy Clem
1ab38e297a Try a different approach for embedding the git commit sha 2019-11-06 16:20:14 -08:00
Patrick Thomson
52d021bcd6 First attempt. 2019-11-01 14:40:07 -04:00
Rob Rix
7662ee75f1
Take care not to load semantic-source twice. 2019-11-01 13:44:57 -04:00
Rob Rix
110b1b69e8
Make the output dirs relative to the ghc version. 2019-11-01 12:02:12 -04:00
Rob Rix
8ef9e1434e
Make the output dirs relative to the builddir. 2019-11-01 12:01:42 -04:00
Rob Rix
d41961f193
Move the build products dirs into script/ghci-flags. 2019-11-01 12:01:14 -04:00
Rob Rix
88545759fc
Don’t ignore .ghci when using script/repl. 2019-11-01 11:59:30 -04:00
Rob Rix
09568bdbd5
Use script/ghci-flags from script/repl. 2019-11-01 11:59:04 -04:00
Rob Rix
978beb7a11
Revert "Echo any remaining args."
This reverts commit fbe02dab64.
2019-11-01 11:52:32 -04:00
Rob Rix
fbe02dab64
Echo any remaining args. 2019-11-01 11:50:51 -04:00
Rob Rix
e6fc10b293
Work relative to a builddir. 2019-11-01 11:50:45 -04:00
Rob Rix
c9cbc83ae3
Don’t forget app. 2019-11-01 11:38:41 -04:00
Rob Rix
90bf61dede
Warnings are warnings. 2019-11-01 11:35:35 -04:00
Rob Rix
3f69e09314
Enable strict data, in case it ever matters. 2019-11-01 11:35:07 -04:00
Rob Rix
2a13455080
Merge pull request #373 from github/multi-component-repl
Multi component repl
2019-11-01 11:19:23 -04:00
Rob Rix
547617a3b9
Add a script to compute the files to watch for changes to the packages. 2019-11-01 11:16:30 -04:00
Rob Rix
b2c8fd92da
Don’t pass --interactive. 2019-11-01 11:05:06 -04:00
Rob Rix
ddff669740
Run the rest of it out of the cabal exec. 2019-11-01 11:02:44 -04:00
Rob Rix
35270bedde
Gather all the flags. 2019-11-01 11:01:17 -04:00
Rob Rix
4e17878d01
Stub in a script to return the flags for ghci. 2019-11-01 10:32:24 -04:00
Rob Rix
51884e68dd
Fix a typo. 2019-11-01 09:10:49 -04:00
Rob Rix
733a0a4628
Revert "Build both static & dynamic files so we don’t have to live in a separate build dir."
This reverts commit 47b0dac3d8.
2019-10-30 16:34:16 -04:00
Rob Rix
47b0dac3d8
Build both static & dynamic files so we don’t have to live in a separate build dir. 2019-10-30 16:25:57 -04:00
Rob Rix
abd8216865
$0 2019-10-30 16:11:33 -04:00
Rob Rix
d99fe09cdb
Usage for script/repl. 2019-10-30 16:08:42 -04:00
Rob Rix
b74256fb85
Move the .ghci file so it doesn’t affect cabal repl. 2019-10-30 16:05:22 -04:00
Rob Rix
08f10ee16d
Add some setup instructions. 2019-10-30 15:59:30 -04:00
Rob Rix
73badce74d
Add a script to run ghci. 2019-10-30 15:18:43 -04:00
Patrick Thomson
65c42cb322 Bump version to 0.9.0.0. 2019-10-30 10:56:52 -04:00
Rob Rix
6a4057902c
v2-. 2019-10-30 08:42:28 -04:00
Timothy Clem
85bf7e72ec Use tclem/proto-lens-jsonpb 2019-10-02 13:14:16 -07:00
Timothy Clem
d678f5b26b Merge remote-tracking branch 'origin/master' into proto-lens 2019-09-30 15:42:58 -07:00
Timothy Clem
c0a53e957d Bump to newer version of proto-lens 2019-09-30 15:26:45 -07:00
Patrick Thomson
ae56dbe26a Bump the version in the publish script too. 2019-09-30 17:00:48 -04:00
Timothy Clem
cb111b83ec Keep this version in sync 2019-09-20 09:39:37 -07:00
Rob Rix
014d04d877
Move npm up. 2019-09-17 13:33:16 -04:00
Rob Rix
b118a898fe
Don’t clone examples we aren’t going to run against. 2019-09-17 13:32:37 -04:00
Rob Rix
67b4782659
Correct the cloning script. 2019-09-17 13:31:20 -04:00
Patrick Thomson
fb1b145bd7 Add script to simplify profiling.
This script is useful in that it takes care of remembering past
results and imvoking profiteur/hp2pretty/etc. We had this back in the
day, but it didn't make the transition to the new repository.
2019-08-12 15:03:08 -04:00
Timothy Clem
d721aadf12 Get versions to line up 2019-08-01 09:48:13 -06:00
Timothy Clem
7b44a6a24e Repeatable code gen from proto 2019-07-05 15:11:33 -07:00
Patrick Thomson
2d4c889011 Add script/bootstrap file.
Fixes #135.
2019-06-17 13:23:05 -04:00
Timothy Clem
e7084c5398
Merge branch 'master' into build-docker-image 2019-06-11 14:45:15 -07:00
Patrick Thomson
32a581f31a More robust example parsing. 2019-06-11 14:54:48 -04:00
Patrick Thomson
a157e4a1b4 Don't clutter the workdir. 2019-06-11 11:22:04 -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
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
Douglas Creager
cf803555e5 Make error reporter API generic
Instead of hard-coding the HTTP API we use for uploading errors to our
internal service, let the user provide an arbitrary function (in the IO
monad) for uploading them.  The default config will create an error
reporter that logs errors to the console, just like happened before if
you didn't set the `HAYSTACK_URL` environment variable.
2019-05-31 08:58:34 -04:00
Patrick Thomson
b2bbda5fca Specify version bounds in .cabal file (#1)
Establish library bounds based on Stackage LTS 13.13.

We use the new cabal `^>=` operator to establish PVP-compatible versioning.
2019-05-31 08:58:17 -04:00
joshvera
d3c912784b Fix tests 2018-06-22 14:19:01 -04:00
Timothy Clem
8c32aa8a6d No more script/run 2018-05-18 15:57:21 -07:00
Charlie Somerville
63a10f210b make script/generate-example more resilient around missing files 2018-04-11 15:49:57 +10:00
Rob Rix
1d0e81318f Don’t generate the ±A/B fixtures. 2017-08-15 09:30:50 -04:00
Rob Rix
887d0c0176 Update the generate-example script not to use stack. 2017-08-09 11:35:33 -04:00
Timothy Clem
8ff3b0dfbc Fix up script/generate-example, no-index isn't a thing anymore 2017-05-03 14:07:16 -07:00
Timothy Clem
9273f4969a Update docs and scripts with new command line args 2017-04-05 15:13:33 -07:00
Timothy Clem
8c1b4ee2c8 Update generate-example-docs 2017-02-27 15:25:44 -08:00
Timothy Clem
6c2a15104d Generate file add/remove examples 2017-02-27 11:55:49 -08:00
Timothy Clem
92ebcf4264 Intersperse tests and add test for new file and remove file 2017-02-27 11:24:52 -08:00
Timothy Clem
a900e48b44 New script for generating examples 2017-02-24 08:36:18 -08:00