Skip to content

cblp/stack-offline

Repository files navigation

stack-offline

Join the chat at https://gitter.im/cblp/stack-offline

Build stack projects offline

Design

Utility stack-offline

Packs everything you need to develop without internet connection. Packing itself does use internet connection.

Parameters:

  • --resolver
    • (mandatory) use specified snapshot
  • --minimal
    • pack only build tools, without testing, profiling and other tools
  • --system-ghc
    • do not pack GHC (default)
  • --no-system-ghc
    • do pack GHC

Output:

  • big tgz archive (from hundreds of megabytes in minimal case to several gigabytes and beyond) with packages and compiler.
  • a script extracting everything into proper positions in user's ~/.stack.

Development

Build and install

$ stack install

Testing

$ ./test.full

About

Build stack projects offline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published