You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- echo 'deb http://download.fpcomplete.com/ubuntu/precise stable main' | sudo tee /etc/apt/sources.list.d/fpco.list
218
-
- sudo apt-get update
219
-
- sudo apt-get install stack -y
220
-
221
-
install:
222
-
- stack setup
223
-
224
-
script:
225
-
- stack test
226
-
```
227
-
228
-
If you wish to use stack as part of a larger matrix, à la [hvr/multi-ghc-travis](https://github.com/hvr/multi-ghc-travis), then you need to do a bit more work. Take a look at [tebello-thejane/bitx-haskell/.travis.yml](https://github.com/tebello-thejane/bitx-haskell/blob/master/.travis.yml), and note the extensive use of `if` statements to select between building with Cabal and stack.
229
-
230
-
Also, note that some `stack` commands have been known to take longer than 20 minutes when on Travis, thus causing Travis to kill the build. A cheap trick is to cause `stack` to display verbose output (with the `-v` option), which causes it to display more often and thus Travis is less likely to kill it due to lack of perceived activity.
209
+
See the [Travis section in the GUIDE](GUIDE.md#travis-with-caching)
Copy file name to clipboardExpand all lines: doc/shell_autocompletion.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
## Shell Autocompletion:
2
2
3
+
Note: if you installed a package for you Linux distribution, the bash completion
4
+
file was automatically installed (you may need the `bash-completion` package to
5
+
have it take effect).
6
+
3
7
The following adds support for shell tab completion for standard Stack arguments, although completion for filenames and executables etc. within stack is still lacking (see [issue 82](https://github.com/commercialhaskell/stack/issues/832)).
:information_source: If you already have quite a large zshrc, or if you use oh-my-zsh, **compinit** will probably already be loaded. If you have a blank zsh config, all of the 3 lines above are necessary.
30
34
31
-
:gem: tip: instead of running those 3 lines from your shell every time you want to use stack, you can add those 3 lines in your $HOME/.zshrc file
35
+
:gem: tip: instead of running those 3 lines from your shell every time you want to use stack, you can add those 3 lines in your $HOME/.zshrc file
Each of these resolvers will also determine what constraints are placed on the compiler version. See the [compiler-check](#compiler-check) option for some additional control over compiler version.
Copy file name to clipboardExpand all lines: src/Stack/Config.hs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,7 @@ resolvePackageEntry menv projRoot pe = do
372
372
subs ->mapM (resolveDir entryRoot) subs
373
373
case peValidWanted pe of
374
374
Nothing->return()
375
-
Just _ ->$logWarn "Warning: you are using the deprecated valid-wanted field. You should instead use extra-dep. See: https://github.com/commercialhaskell/stack/wiki/stack.yaml#packages"
375
+
Just _ ->$logWarn "Warning: you are using the deprecated valid-wanted field. You should instead use extra-dep. See: https://github.com/commercialhaskell/stack/blob/master/doc/yaml_configuration.md#packages"
376
376
return$map (, not$ peExtraDep pe) paths
377
377
378
378
--| Resolve a PackageLocation into a path, downloading and cloning as
0 commit comments