mirror of
https://github.com/rgleichman/glance.git
synced 2024-09-11 15:05:41 +03:00
24 lines
544 B
Plaintext
24 lines
544 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 modules:
|
|
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>
|