Export path instead of copying
authorLuke Lau <luke_lau@icloud.com>
Tue, 7 Aug 2018 10:20:10 +0000 (11:20 +0100)
committerLuke Lau <luke_lau@icloud.com>
Tue, 7 Aug 2018 10:20:10 +0000 (11:20 +0100)
.travis.yml

index 6d3063c936b59896d830c2d5beb42ac8e6959df0..290691eed94c2e59e797f1c9cb0772958a76e47f 100644 (file)
@@ -35,8 +35,8 @@ before_install:
   - git submodule update
   - cabal new-configure
   - cabal new-build -j2
+  - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/c/hie/build/hie/hie:$PATH
   # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH
-  - cp `find dist-newstyle/ -name hie -type f | xargs -x ls -t | head -n1` /opt/cabal/2.0/bin/
   # - stack --no-terminal --skip-ghc-check install -j2
   # - stack exec hoogle generate
   - cabal install hoogle