File tree Expand file tree Collapse file tree 7 files changed +14
-13
lines changed
tests/Language/Haskell/Stylish/Step Expand file tree Collapse file tree 7 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 29
29
name : Cache ~/.stack
30
30
with :
31
31
path : ~/.stack
32
- key : ${{ runner.os }}-${{ matrix.ghc }}-v6
32
+ key : ${{ runner.os }}-${{ matrix.ghc }}-v7
33
33
34
34
- name : Add ~/.local/bin to PATH
35
35
run : echo "$HOME/.local/bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ You can also install it using your package manager:
37
37
38
38
Feature requests are welcome! Use the [ issue tracker] for that.
39
39
40
- [ issue tracker ] : https://github.com/jaspervdj /stylish-haskell/issues
40
+ [ issue tracker ] : https://github.com/haskell /stylish-haskell/issues
41
41
42
42
## Example
43
43
@@ -234,7 +234,7 @@ haskell-mode manual.
234
234
235
235
You can quickly grab the latest binary and run `stylish-haskell` like so:
236
236
237
- curl -sL https://raw.github.com/jaspervdj /stylish-haskell/master/scripts/latest.sh | sh -s .
237
+ curl -sL https://raw.github.com/haskell /stylish-haskell/master/scripts/latest.sh | sh -s .
238
238
239
239
Where the `.` can be replaced with the arguments you pass to `stylish-haskell`.
240
240
Original file line number Diff line number Diff line change 6
6
PACKAGE=stylish-haskell
7
7
echo Downloading and running $PACKAGE ...
8
8
9
- RELEASES=$( curl --silent https://github.com/jaspervdj /$PACKAGE /releases)
9
+ RELEASES=$( curl --silent https://github.com/haskell /$PACKAGE /releases)
10
10
URL=https://github.com/$( echo $RELEASES | grep -o ' \"[^\"]*-linux-x86_64\.tar\.gz\"' | sed s/\" //g | head -n1)
11
11
VERSION=$( echo $URL | sed -e ' s/.*-\(v[\.0-9]\+-linux-x86_64\)\.tar\.gz/\1/' )
12
12
TEMP=$( mktemp --directory .$PACKAGE -XXXXX)
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# Ported from https://github.com/ndmitchell/hlint/blob/master/misc/travis.sh
3
3
4
- curl -sL https://raw.github.com/jaspervdj /stylish-haskell/master/scripts/latest.sh | sh -s -- stylish-haskell $*
4
+ curl -sL https://raw.github.com/haskell /stylish-haskell/master/scripts/latest.sh | sh -s -- stylish-haskell $*
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Cabal-version: 2.4
2
2
Name : stylish-haskell
3
3
Version : 0.12.2.0
4
4
Synopsis : Haskell code prettifier
5
- Homepage : https://github.com/jaspervdj /stylish-haskell
5
+ Homepage : https://github.com/haskell /stylish-haskell
6
6
License : BSD-3-Clause
7
7
License-file : LICENSE
8
8
Author : Jasper Van der Jeugt <m@jaspervdj.be>
@@ -16,7 +16,7 @@ Description:
16
16
17
17
.
18
18
19
- <https://github.com/jaspervdj /stylish-haskell/blob/master/README.markdown>
19
+ <https://github.com/haskell /stylish-haskell/blob/master/README.markdown>
20
20
21
21
Extra-source-files :
22
22
CHANGELOG,
@@ -179,4 +179,4 @@ Test-suite stylish-haskell-tests
179
179
180
180
Source-repository head
181
181
Type : git
182
- Location : https://github.com/jaspervdj /stylish-haskell
182
+ Location : https://github.com/haskell /stylish-haskell
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ case19 = expected @=? testStep (step indentIndentStyle) input
450
450
451
451
-- | Should not break Enums (data without records) formatting
452
452
--
453
- -- See https://github.com/jaspervdj /stylish-haskell/issues/262
453
+ -- See https://github.com/haskell /stylish-haskell/issues/262
454
454
case20 :: Assertion
455
455
case20 = input @=? testStep (step indentIndentStyle) input
456
456
where
@@ -1277,7 +1277,7 @@ case57 = assertSnippet (step defaultConfig)
1277
1277
1278
1278
-- | Should not break DataKinds in records
1279
1279
--
1280
- -- See https://github.com/jaspervdj /stylish-haskell/issues/330
1280
+ -- See https://github.com/haskell /stylish-haskell/issues/330
1281
1281
case58 :: Assertion
1282
1282
case58 = expected @=? testStep (step sameIndentStyle) input
1283
1283
where
Original file line number Diff line number Diff line change 1
1
-- | Tests contributed by Felix Mulder as part of
2
- -- <https://github.com/jaspervdj /stylish-haskell/pull/293>.
2
+ -- <https://github.com/haskell /stylish-haskell/pull/293>.
3
3
module Language.Haskell.Stylish.Step.Imports.FelixTests
4
4
( tests
5
5
) where
6
6
7
7
--------------------------------------------------------------------------------
8
+ import GHC.Stack (HasCallStack ,
9
+ withFrozenCallStack )
10
+ import Prelude hiding (lines )
8
11
import Test.Framework (Test , testGroup )
9
12
import Test.Framework.Providers.HUnit (testCase )
10
13
import Test.HUnit (Assertion )
11
- import GHC.Stack (HasCallStack , withFrozenCallStack )
12
- import Prelude hiding (lines )
13
14
14
15
--------------------------------------------------------------------------------
15
16
import Language.Haskell.Stylish.Module
You can’t perform that action at this time.
0 commit comments