### Install snap-server with Cabal Source: https://github.com/snapframework/snap-server/blob/master/README.md Installs the snap-server library using Cabal. This command installs the base library. For SSL support, the '-fopenssl' flag must be provided. ```Shell cabal install ``` ```Shell cabal install -fopenssl ``` -------------------------------- ### Build and Run Test Suite Source: https://github.com/snapframework/snap-server/blob/master/README.md Builds and runs the test suite for snap-server. This involves configuring Cabal (with or without SSL support), building the test suite, and then executing the tests using a provided script. The test coverage report is generated in 'test/dist/hpc'. ```Shell cd test/ cabal configure cabal build ./runTestsAndCoverage.sh ``` ```Shell cd test/ cabal configure -fopenssl cabal build ./runTestsAndCoverage.sh ``` -------------------------------- ### Build Haddock Documentation Source: https://github.com/snapframework/snap-server/blob/master/README.md Builds the Haddock documentation for the snap-server library using the provided shell script. The generated documentation will be located in the 'dist/doc/html/' directory. ```Shell ./haddock.sh ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.