https://github.com/quchen/stackage-everything
»I want Stackage on an airplane and I have only 3 minutes until takeoff«
https://github.com/quchen/stackage-everything
Last synced: 9 months ago
JSON representation
»I want Stackage on an airplane and I have only 3 minutes until takeoff«
- Host: GitHub
- URL: https://github.com/quchen/stackage-everything
- Owner: quchen
- Created: 2016-02-27T15:36:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-25T21:43:57.000Z (over 7 years ago)
- Last Synced: 2025-03-01T10:12:36.204Z (10 months ago)
- Language: Haskell
- Homepage:
- Size: 97.7 KB
- Stars: 84
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Stackage-Everything generator
=============================
tl;dr: »I want Stackage on an airplane and I have only 3 minutes until takeoff«
This small script generates a script to download all the sources of a Stackage
LTS release, so they can later be built/installed (including documentation) even
when no internet connection is available.
A full download takes only a couple of minutes and around 60 megabytes of
traffic at the time of writing this.
So if you’ve got a long flight ahead of you, or a weekend with your Granny in
Siberia, or a dive into the Mariana Trench, or even worse – a trip through the
German countryside by train – this is for you.
Usage
-----
```bash
./Generate.hs --lts 10.6 > everything # Generate install script
chmod u+x everything # Make it runnable
./everything # Run it
```
Afterwards, you’ll be able to compile packages via the usual means (`stack
build` or as dependencies) without internet access, because Stack first searches
the local folders for source files before attempting to download them.