[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode 3870bf1 367/385: time to remove the cabal
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode 3870bf1 367/385: time to remove the cabal v2- prefixes |
Date: |
Wed, 6 Oct 2021 00:00:06 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit 3870bf1d53f12c9b9d0ef578aa29c5f1c3e1ddbe
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
time to remove the cabal v2- prefixes
---
README.md | 4 ++--
haskell-tng-compile.el | 7 ++++---
haskell-tng-extra.el | 2 +-
test/haskell-tng-compile-test.el | 2 +-
4 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 49fa1e8..e684835 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,7 @@ Integrations are provided for common libraries and external
applications.
The installation instructions above enable all the integrations. Remove the
`require` lines for packages that are unwanted.
-Third party Haskell tools must be installed separately (e.g. via `cabal
v2-install`):
+Third party Haskell tools must be installed separately (e.g. via `cabal
install`):
- [`stack2cabal`](https://hackage.haskell.org/package/stack2cabal)
- [`stylish-haskell`](https://hackage.haskell.org/package/stylish-haskell)
@@ -166,7 +166,7 @@ This is the status of core features:
- `:doc` at point
- expand type definitions (e.g. to show full ADT)
- [`flycheck`](http://www.flycheck.org/en/latest/) integration with
`haskell-compile`
- - `ghc` / `cabal v2-exec ghc --` for red squiggles, getting the correct info
from [`cabal-helper`](http://hackage.haskell.org/package/cabal-helper)
+ - `ghc` / `cabal exec ghc --` for red squiggles, getting the correct info
from [`cabal-helper`](http://hackage.haskell.org/package/cabal-helper)
- and [`hlint`](https://github.com/ndmitchell/hlint)
- and for faster feedback, [`ghcid`](https://github.com/ndmitchell/ghcid)
- [visualise values as
types](https://twitter.com/jyothsnasrin/status/1039530556080283648)
diff --git a/haskell-tng-compile.el b/haskell-tng-compile.el
index ee8b21e..20b8e56 100644
--- a/haskell-tng-compile.el
+++ b/haskell-tng-compile.el
@@ -65,10 +65,11 @@
"The `compilation-error-regexp-alist' for `haskell-tng'.")
(defvar haskell-tng--compile-history
- '("cabal v2-build"
- "cabal v2-run tasty -- "))
+ '("cabal build"
+ "cabal run tasty -- "
+ "cabal run hspec -- "))
(defvar-local haskell-tng--compile-command nil)
-(defvar-local haskell-tng--compile-alt "cabal v2-clean")
+(defvar-local haskell-tng--compile-alt "cabal clean")
(defvar haskell-tng--compile-dominating-package
(rx (| (: (+ any) ".cabal") "package.yaml")))
diff --git a/haskell-tng-extra.el b/haskell-tng-extra.el
index 1037c99..c6d8d68 100644
--- a/haskell-tng-extra.el
+++ b/haskell-tng-extra.el
@@ -13,7 +13,7 @@
;;; Code:
;; TODO a generic wrapper around commands that can be downloaded and built
using
-;; cabal v2-install.
+;; cabal install.
;; TODO cabal-fmt on new file creation (for the `insert' support). Maybe with a
;; hook in both `before-save-hook' (detecting that the file is new) and
diff --git a/test/haskell-tng-compile-test.el b/test/haskell-tng-compile-test.el
index 823a4bf..18ee191 100644
--- a/test/haskell-tng-compile-test.el
+++ b/test/haskell-tng-compile-test.el
@@ -43,7 +43,7 @@
;;(kill-line -2)
))
-;; cabal v2-clean && cabal v2-build -O0 all > ghc-8.4.4-error.compile 2>&1
+;; cabal clean && cabal build -O0 all > ghc-8.4.4-error.compile 2>&1
(ert-deftest haskell-tng-compile-errors-file-tests ()
(should (have-expected-errors (testdata "compile/ghc-8.4.4-error.compile")))
(should (have-expected-errors (testdata
"compile/ghc-8.4.4-errorspan.compile"))))
- [nongnu] elpa/haskell-tng-mode b1c664b 364/385: allow hsinspect population in the background, (continued)
- [nongnu] elpa/haskell-tng-mode b1c664b 364/385: allow hsinspect population in the background, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ce17d96 376/385: new hsinspect release, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode eb6b487 357/385: test fqn-at-point and fix a longstanding bug, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 103e758 325/385: expose some more hsinspect-0.0.8 index info, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 374835c 355/385: a test for interactive commands, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e3c6dc6 336/385: follow re-exports, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9904e72 366/385: jump-to-definition works inside the project, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1c68e79 381/385: requires emacs 27, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 55d8e69 385/385: upgrade hsinspect, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 97e4a66 379/385: bump hsinspect, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3870bf1 367/385: time to remove the cabal v2- prefixes,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode 47f1f9f 180/385: lex CONSYM correctly, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 9bc086a 187/385: easier install, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4f40db3 218/385: fast-tags is stack compatible by default, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 59640ce 234/385: cleanups thanks to MELPA review, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 35d3830 306/385: cache improvements, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode c0b1b6b 301/385: change the compile-always-ask default, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 907c8fa 153/385: ImplicitParams indentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ca00f1f 183/385: thot, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 611711a 208/385: address melpa review, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 89c5c80 223/385: improve smartparens workaround, ELPA Syncer, 2021/10/06