Commit Graph

3078 Commits

Author SHA1 Message Date
jneira
8e909e8aa4 Mention cabal issue about set custom project file 2019-11-14 08:42:45 +01:00
jneira
bf7d4b4915 Update documentation about build system 2019-11-14 08:06:18 +01:00
jneira
6e0cf21379 Use cabal options consistently 2019-11-14 07:35:29 +01:00
jneira
6831562f05 Merge branch 'improve-install' of https://github.com/jneira/haskell-ide-engine into improve-install 2019-11-14 07:33:49 +01:00
jneira
36fa815294 Formatting options list of cabal build 2019-11-13 23:03:16 +01:00
jneira
9e70be8346 Fix ghc version used to install hie 2019-11-13 14:57:37 +01:00
jneira
bb61dd1e9e Fix error in splitPaths 2019-11-13 13:48:45 +01:00
jneira
16be8e7381 Sort installed ghcs to fix the lastest target 2019-11-13 08:38:43 +01:00
jneira
0e2646bfb8 Fix getGhcPathOf for windows 2019-11-13 08:27:25 +01:00
jneira
78fdd5ba98 Add lastest, change default to it add warn about build-all 2019-11-12 14:52:34 +01:00
jneira
6a8f89cdb8 Use explicit list of ghc supported versions 2019-11-12 14:51:30 +01:00
Javier Neira
60fae44be1
Merge pull request #1449 from jneira/test-liquid-version
Unit test to check if liquid haskell exe version is the supported one
2019-11-11 18:40:26 +01:00
jneira
8d1e590de6 Unit test over the liquid haskell supported version 2019-11-11 13:49:57 +01:00
jneira
865ef78bbe Add process dep to unit-test 2019-11-11 13:48:00 +01:00
Alan Zimmerman
98acf41752
Merge pull request #1440 from alanz/liquid-tests-0.8.6.2
Adapt liquid haskell tests for version 0.8.6.2
2019-11-09 21:59:08 +00:00
Alan Zimmerman
0e6742d204 Disbale some logging 2019-11-09 19:28:41 +00:00
Alan Zimmerman
bfb16324d3 Call flushStackEnvironment before starting a lsp-test session 2019-11-09 18:15:24 +00:00
Alan Zimmerman
acf6c96339 Generalise flushing stack environment for tests 2019-11-09 15:14:57 +00:00
Alan Zimmerman
d646605fb3 Make sure test dispatcher runs in a clean environment 2019-11-09 14:58:50 +00:00
Alan Zimmerman
7a9b56342e Adapt liquid haskell tests for version 0.8.6.2
This needs https://github.com/alanz/haskell-dockerfiles/pull/2 for CI,
to update the base image GHC and liquid haskell version.
2019-11-07 23:30:28 +00:00
Javier Neira
c253cbb68a
Merge pull request #1437 from jneira/ignore-unset-path
Ignore the stack PATH fix if the env var is not set
2019-11-07 10:33:33 +01:00
jneira
b089c8b6b8 Remove unused language extension 2019-11-07 09:29:39 +01:00
jneira
f581cd6127 Catch the specific IOException in the getEnv error handler 2019-11-07 08:05:47 +01:00
Alan Zimmerman
0bbec7d7e0
Merge pull request #1438 from alanz/liquid-tests
Make sure the liquid haskell test files are generated for unit-test
2019-11-06 22:42:34 +00:00
Alan Zimmerman
a1b2f8c5d8 Make sure the liquid haskell test files are generated for unit-test
We must run the liquid exe to generate results to be parsed.
2019-11-06 21:31:05 +00:00
jneira
4cfe6779bf Catch IOException instead SomeException 2019-11-06 13:44:50 +01:00
jneira
05220f2105 Ignore the PATH fix if it is not set 2019-11-06 12:06:32 +01:00
fendor
7cf1295a28 Drop CPP directives for GHC 8.2.2 in test folder 2019-10-31 10:52:11 +01:00
fendor
2d39a8d2a4 Remove old hlint dependency from cabal file 2019-10-31 10:52:11 +01:00
fendor
4d748f5d08 Drop CPP directives guarding GHC 8.2.2 statements 2019-10-31 10:52:11 +01:00
fendor
257eda54bb Drop stack support for GHC 8.2.2
This is necessary, because when we upgrade cabal-helper,
and transivitely cabal-plan to  version 0.5.0.0 in #1126,
the minimum cabal-version is 2.2.
However, each stack snapshot ships with its own version
of cabal-install that can not be changed.

The latest lts for ghc-8.2.2 is 11.18, which ships with
a cabal-install version of 2.0.0.1, which is too old
for cabal-plan 0.5.0.0.

However, in general, there is nothing that forces us to
drop support for GHC 8.2.2. Overriding the compiler version
should be possible, e.g. taking the snapshort 14.8 and
overriding the GHC version, but this requires us
to do manual constraint solving. Could be done if needed.
2019-10-31 10:52:11 +01:00
Luke Lau
6c0b7fad18
Merge pull request #1427 from bubba/register-rename-implementation
Register rename and implementation provider
2019-10-27 19:34:42 +00:00
Luke Lau
10bba5a4b7 Register rename and implementation provider
These need to be passed to haskell-lsp in order to declare it in the
server capabilities.
2019-10-27 17:58:40 +00:00
Alan Zimmerman
72d4ff6ff8
Merge pull request #1424 from bubba/fix-1422
Fix snippets configuration option not working
2019-10-26 11:17:25 +01:00
Luke Lau
83da0337ff Respect snippets configutation in CompletionItemResolve
Fixes #1422
2019-10-25 22:24:06 +01:00
Luke Lau
38a6febbee
Merge pull request #1421 from alanz/prepare-0.13
Preparing 0.13 release
2019-10-23 00:26:10 -07:00
Alan Zimmerman
3a17fce382 Preparing 0.13 release 2019-10-22 21:56:16 +01:00
Alan Zimmerman
f478eddb3a
Merge pull request #1419 from alanz/bump-resolvers
Bump resolvers and deps
2019-10-22 20:30:20 +01:00
Alan Zimmerman
627bf2d797 Prevent CircleCI OOM on "Install Hoogle" step 2019-10-22 17:57:35 +01:00
Alan Zimmerman
41cfce08b7 Clean up comment from yaml file 2019-10-21 21:55:03 +01:00
Alan Zimmerman
e53b22104b Bump resolvers and deps
brittany-0.12.1
floskell-0.10.1
hlint-2.2.3
hsimport-0.11.0
2019-10-21 21:32:26 +01:00
Luke Lau
3ec201f76d
Merge pull request #1418 from alanz/haskell-lsp-0.17
Update haskell-lsp to 0.17
2019-10-21 02:32:16 +01:00
Alan Zimmerman
60c0df26d1 Update haskell-lsp to 0.17
Together with haskell-lsp-types and lsp-test

This now supports LSP spec 3.15
2019-10-20 21:53:27 +01:00
Alan Zimmerman
414bbee3b6
Merge pull request #1413 from alanz/robust-tests
Robust tests
2019-10-16 16:17:55 +01:00
Javier Neira
623f8f6fa4
Merge pull request #1414 from haskell/jneira-update-readme
Add instructions about install cabal with stack and update instructions to run the build script with cabal on windows in the README
2019-10-16 12:06:56 +02:00
Javier Neira
7ab685b91a
Add instructions about install cabal with stack
and update instructions to run the build script with cabal on windows
2019-10-16 08:59:57 +02:00
Alan Zimmerman
dbff14b5ef Revert to stack 1.9.3
Stack 2.1.3 does not build cabal-helper properly on initial run.
2019-10-15 21:41:06 +01:00
Javier Neira
53acb90400
Merge pull request #1406 from jneira/stack-install-cabal
Find and run cabal in user original $PATH
2019-10-15 12:51:05 +02:00
Alan Zimmerman
8046e48d83 Explicitly log the args passed to MainHie 2019-10-14 22:57:42 +01:00
Alan Zimmerman
5e58c510f0 Tweak test names 2019-10-14 22:57:22 +01:00