Skip to content

Commit 3333be9

Browse files
authored
Update references (#364)
* Update references * bump the CI cache
1 parent 06fa255 commit 3333be9

File tree

7 files changed

+14
-13
lines changed

7 files changed

+14
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Cache ~/.stack
3030
with:
3131
path: ~/.stack
32-
key: ${{ runner.os }}-${{ matrix.ghc }}-v6
32+
key: ${{ runner.os }}-${{ matrix.ghc }}-v7
3333

3434
- name: Add ~/.local/bin to PATH
3535
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can also install it using your package manager:
3737

3838
Feature requests are welcome! Use the [issue tracker] for that.
3939

40-
[issue tracker]: https://github.com/jaspervdj/stylish-haskell/issues
40+
[issue tracker]: https://github.com/haskell/stylish-haskell/issues
4141

4242
## Example
4343

@@ -234,7 +234,7 @@ haskell-mode manual.
234234
235235
You can quickly grab the latest binary and run `stylish-haskell` like so:
236236
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 .
238238
239239
Where the `.` can be replaced with the arguments you pass to `stylish-haskell`.
240240

scripts/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66
PACKAGE=stylish-haskell
77
echo Downloading and running $PACKAGE...
88

9-
RELEASES=$(curl --silent https://github.com/jaspervdj/$PACKAGE/releases)
9+
RELEASES=$(curl --silent https://github.com/haskell/$PACKAGE/releases)
1010
URL=https://github.com/$(echo $RELEASES | grep -o '\"[^\"]*-linux-x86_64\.tar\.gz\"' | sed s/\"//g | head -n1)
1111
VERSION=$(echo $URL | sed -e 's/.*-\(v[\.0-9]\+-linux-x86_64\)\.tar\.gz/\1/')
1212
TEMP=$(mktemp --directory .$PACKAGE-XXXXX)

scripts/stylish-haskell.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
# Ported from https://github.com/ndmitchell/hlint/blob/master/misc/travis.sh
33

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 $*

stylish-haskell.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Cabal-version: 2.4
22
Name: stylish-haskell
33
Version: 0.12.2.0
44
Synopsis: Haskell code prettifier
5-
Homepage: https://github.com/jaspervdj/stylish-haskell
5+
Homepage: https://github.com/haskell/stylish-haskell
66
License: BSD-3-Clause
77
License-file: LICENSE
88
Author: Jasper Van der Jeugt <m@jaspervdj.be>
@@ -16,7 +16,7 @@ Description:
1616

1717
.
1818

19-
<https://github.com/jaspervdj/stylish-haskell/blob/master/README.markdown>
19+
<https://github.com/haskell/stylish-haskell/blob/master/README.markdown>
2020

2121
Extra-source-files:
2222
CHANGELOG,
@@ -179,4 +179,4 @@ Test-suite stylish-haskell-tests
179179

180180
Source-repository head
181181
Type: git
182-
Location: https://github.com/jaspervdj/stylish-haskell
182+
Location: https://github.com/haskell/stylish-haskell

tests/Language/Haskell/Stylish/Step/Data/Tests.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ case19 = expected @=? testStep (step indentIndentStyle) input
450450

451451
-- | Should not break Enums (data without records) formatting
452452
--
453-
-- See https://github.com/jaspervdj/stylish-haskell/issues/262
453+
-- See https://github.com/haskell/stylish-haskell/issues/262
454454
case20 :: Assertion
455455
case20 = input @=? testStep (step indentIndentStyle) input
456456
where
@@ -1277,7 +1277,7 @@ case57 = assertSnippet (step defaultConfig)
12771277

12781278
-- | Should not break DataKinds in records
12791279
--
1280-
-- See https://github.com/jaspervdj/stylish-haskell/issues/330
1280+
-- See https://github.com/haskell/stylish-haskell/issues/330
12811281
case58 :: Assertion
12821282
case58 = expected @=? testStep (step sameIndentStyle) input
12831283
where

tests/Language/Haskell/Stylish/Step/Imports/FelixTests.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
-- | 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>.
33
module Language.Haskell.Stylish.Step.Imports.FelixTests
44
( tests
55
) where
66

77
--------------------------------------------------------------------------------
8+
import GHC.Stack (HasCallStack,
9+
withFrozenCallStack)
10+
import Prelude hiding (lines)
811
import Test.Framework (Test, testGroup)
912
import Test.Framework.Providers.HUnit (testCase)
1013
import Test.HUnit (Assertion)
11-
import GHC.Stack (HasCallStack, withFrozenCallStack)
12-
import Prelude hiding (lines)
1314

1415
--------------------------------------------------------------------------------
1516
import Language.Haskell.Stylish.Module

0 commit comments

Comments
 (0)