glance/notes.txt

18 lines
405 B
Plaintext
Raw Normal View History

2016-01-05 04:18:42 +03:00
to run:
Using Atom, in a terminal run
2016-01-06 03:22:29 +03:00
cd app
stack exec glance-exe -- -l -s Main.hs -o ../output.svg
2016-01-05 04:18:42 +03:00
or if that does not work
2016-01-06 03:22:29 +03:00
stack build --exec "glance-exe -o output.svg -w 500"
2016-01-05 04:18:42 +03:00
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