nimx icon indicating copy to clipboard operation
nimx copied to clipboard

emscripten build requires res/OpenSans-Regular.ttf in project directory

Open capocasa opened this issue 4 years ago • 0 comments

emscripten build requires res/OpenSans-Regular.ttf in project directory, but this is not created by init code.

reproduce:

$ echo import nimx/naketools > nakefile.nim
$ nake emscripten

Expected: Compile Actual: Error message

Workaround:

mkdir ref
curl https://github.com/yglukhov/nimx/blob/master/test/res/OpenSans-Regular.ttf -o res/OpenSans-Regular.ttf
$ nake emscripten

Now it compiles

capocasa avatar Nov 26 '20 12:11 capocasa