mirror of
https://github.com/rgleichman/glance.git
synced 2024-10-26 16:51:29 +03:00
24 lines
541 B
Plaintext
24 lines
541 B
Plaintext
to run:
|
|
Using Atom, in a terminal run
|
|
cd app
|
|
stack exec glance-exe -- -l -s Main.hs -o ../output.svg
|
|
|
|
or if that does not work
|
|
|
|
stack build --exec "glance-exe -o output.svg -w 500"
|
|
|
|
View circle.svg with svg-preview plug-in.
|
|
|
|
To use ghci for the main executable:
|
|
stack ghci glance
|
|
|
|
To use ghci with the test file:
|
|
stack ghci glance:test:glance-test
|
|
|
|
For all warnings (some warnings duplicated):
|
|
stack clean
|
|
stack build --test --no-run-tests --ghc-options -Wall
|
|
|
|
To open documentation for other libraries:
|
|
stack haddock --open <package-name>
|