https://github.com/scrive/static-hackage
Static Hackage generator
https://github.com/scrive/static-hackage
Last synced: 10 months ago
JSON representation
Static Hackage generator
- Host: GitHub
- URL: https://github.com/scrive/static-hackage
- Owner: scrive
- License: other
- Created: 2012-02-08T07:55:19.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T13:06:02.000Z (over 7 years ago)
- Last Synced: 2025-01-06T10:26:56.188Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 39
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# static-hackage [](https://hackage.haskell.org/package/static-hackage) [](http://travis-ci.org/scrive/static-hackage)
Static hackage generator program
## Installation
cabal install static-hackage
## Usage
static-hackage package1.tar.gz package2.tar.gz ...
The above command will generate 00-index.tar.gz in current directory
and appropriate directory hierarchy in ./package/ subdirectory. As
such this is ready for serving via HTTP. You may use nginx or another
static file server for that purpose.
Files and directories generated:
./00-index.tar.gz -- all .cabal files tarred
./$N/$V/$N-$V.cabal -- same cabal files, static
./package/$N-$V.tar.gz -- full contents of package
Where $N is package name and $V is package version.