Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Only see 'latest' target in help text #1620

@kozross

Description

@kozross

I was trying to install HIE today. The log shows best what happened.

[koz@Sebastian ~]$ git clone https://github.com/haskell/haskell-ide-engine --recurse-submodules
Cloning into 'haskell-ide-engine'...
remote: Enumerating objects: 117, done.
remote: Counting objects: 100% (117/117), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 27267 (delta 53), reused 57 (delta 16), pack-reused 27150
Receiving objects: 100% (27267/27267), 6.48 MiB | 4.08 MiB/s, done.
Resolving deltas: 100% (14593/14593), done.
[koz@Sebastian ~]$ cd haskell-ide-engine/
[koz@Sebastian haskell-ide-engine]$ cabal new-run -w /home/koz/ghc-88/bin/ghc ./install.hs --project-file install/shake.project help
Resolving dependencies...
Build profile: -w ghc-8.8.1 -O1
In order, the following will be built (use -v for more details):
 - hie-install-0.8.0.0 (lib) (first run)
 - fake-package-0 (exe:script) (first run)
Configuring library for hie-install-0.8.0.0..
Preprocessing library for hie-install-0.8.0.0..
Building library for hie-install-0.8.0.0..
[1 of 8] Compiling BuildSystem      ( src/BuildSystem.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/BuildSystem.o )
[2 of 8] Compiling Print            ( src/Print.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/Print.o )
[3 of 8] Compiling Version          ( src/Version.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/Version.o )
[4 of 8] Compiling Env              ( src/Env.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/Env.o )
[5 of 8] Compiling Stack            ( src/Stack.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/Stack.o )
[6 of 8] Compiling Cabal            ( src/Cabal.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/Cabal.o )
[7 of 8] Compiling Help             ( src/Help.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/Help.o )
[8 of 8] Compiling HieInstall       ( src/HieInstall.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/hie-install-0.8.0.0/build/HieInstall.o )
Configuring executable 'script' for fake-package-0..
Preprocessing executable 'script' for fake-package-0..
Building executable 'script' for fake-package-0..
[1 of 1] Compiling Main             ( Main.hs, /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/fake-package-0/x/script/build/script/script-tmp/Main.o )
Linking /home/koz/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.8.1/fake-package-0/x/script/build/script/script ...

Usage:
    stack install.hs <target>
    or
    cabal v2-run install.hs --project-file install/shake.project <target>

Targets:
    help                Show help message including all targets

    hie                 Install hie with the latest available GHC and the data files
    latest              Install hie with the latest available GHC
    data                Get the required data-files for `hie` (Hoogle DB)

    ghcs                Show all GHC versions that can be installed via `cabal-build`.

    icu-macos-fix       Fixes icu related problems in MacOS

Build completed in 0.00s

I can't see any targets except latest. Is this a bug, or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions