From fdeb69a86f2063681dcf5aea690ee7d2c8b2f811 Mon Sep 17 00:00:00 2001 From: jneira Date: Fri, 24 Jan 2020 22:20:34 +0100 Subject: [PATCH 1/2] Remove hlint.yaml from release --- .azure/linux-stack.yml | 3 --- .azure/macos-stack.yml | 3 --- .azure/windows-stack.yml | 3 --- 3 files changed, 9 deletions(-) diff --git a/.azure/linux-stack.yml b/.azure/linux-stack.yml index 667bb5e2b..e8b3e236d 100644 --- a/.azure/linux-stack.yml +++ b/.azure/linux-stack.yml @@ -70,9 +70,6 @@ jobs: else GHC_MINOR_VERSION=nightly fi - stack unpack hlint --stack-yaml ../$(YAML_FILE) --to "$(Agent.TempDirectory)" - mkdir -p data - cp "$(Agent.TempDirectory)"/hlint*/data/hlint.yaml data ARTIFACT_NAME=hie-$(hie --numeric-version)-ghc-$GHC_VERSION-linux-x86_64 tar -vczf $(Build.ArtifactStagingDirectory)/$ARTIFACT_NAME.tar.xz * displayName: Install `hie` diff --git a/.azure/macos-stack.yml b/.azure/macos-stack.yml index ecb718e33..0f88e67c5 100644 --- a/.azure/macos-stack.yml +++ b/.azure/macos-stack.yml @@ -70,9 +70,6 @@ jobs: else GHC_VERSION=nightly fi - stack unpack hlint --stack-yaml ../$(YAML_FILE) --to "$(Agent.TempDirectory)" - mkdir -p data - cp "$(Agent.TempDirectory)"/hlint*/data/hlint.yaml data ARTIFACT_NAME=hie-$(hie --numeric-version)-ghc-$GHC_VERSION-macos-x86_64 tar -vczf $(Build.ArtifactStagingDirectory)/$ARTIFACT_NAME.tar.xz * displayName: Install `hie` diff --git a/.azure/windows-stack.yml b/.azure/windows-stack.yml index 81ec08424..b54adb522 100644 --- a/.azure/windows-stack.yml +++ b/.azure/windows-stack.yml @@ -73,9 +73,6 @@ jobs: else GHC_VERSION=nightly fi - stack unpack hlint --stack-yaml ../$(YAML_FILE) --to "$(Agent.TempDirectory)" - mkdir -p data - cp "$(Agent.TempDirectory)"/hlint*/data/hlint.yaml data ARTIFACT_NAME=hie-$(hie --numeric-version)-ghc-$GHC_VERSION-windows-x86_64 7z a "$(Build.ArtifactStagingDirectory)/$ARTIFACT_NAME.zip" * displayName: Install `hie` From a4419e7f8c1609f1940e4657c3fe10fca1d86130 Mon Sep 17 00:00:00 2001 From: jneira Date: Fri, 24 Jan 2020 22:26:56 +0100 Subject: [PATCH 2/2] Remove ref to hlint.yaml in requirements --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 97cbfd7db..6a62dbe1e 100644 --- a/README.md +++ b/README.md @@ -152,10 +152,6 @@ HIE builds from source code, so there's a couple of extra steps. * `stack` must be in your PATH * `git` must be in your PATH * Stack local bin directory must be in your PATH. Get it with `stack path --local-bin` -* To make hlint suggestions work, `hie` must locate the [hlint configuration yaml file](https://raw.githubusercontent.com/ndmitchell/hlint/master/data/hlint.yaml). The file is searched in order in the following locations: - * In the directory pointed by the environment variable `$HLINT_DATADIR`. - * If hie was installed using stack or cabal, in a tool-specific internal installation directory. - * And finally in a subdirectory named `data` inside the directory where the `hie` executable is. Tip: you can quickly check if some command is in your path by running the command. If you receive some meaningful output instead of "command not found"-like message