mirror of
https://github.com/rgleichman/glance.git
synced 2024-12-03 11:14:07 +03:00
18 lines
405 B
Plaintext
18 lines
405 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 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
|