makenowjust / yuki-code

Yuki Code is monospaced font for programmers
SIL Open Font License 1.1
10 stars 1 forks source link

Cannot build if output folder don't exist #1

Closed Mraiih closed 4 years ago

Mraiih commented 4 years ago
mraiih@somnium:~/Dev/Projects/yuki-code$ yarn build                                                                                                                                                                    
yarn run v1.22.4
$ sucrase-node build.ts
Loading data
Copying glyphs from ligature font
Copying glyphs from ASCII font
Copying glyphs from CJK font
Copying ligature glyphs
Adding ligature information
Generating a font
Adding CMAP format 12 (needed!)
[Error: ENOENT: no such file or directory, open '/home/mraiih/Dev/Projects/yuki-code/output/YukiCode-Regular.otf'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/mraiih/Dev/Projects/yuki-code/output/YukiCode-Regular.otf'
}
Done in 13.04s.

Works fine after a little mkdir output

mraiih@somnium:~/Dev/Projects/yuki-code$ mkdir output
mraiih@somnium:~/Dev/Projects/yuki-code$ yarn build
yarn run v1.22.4
$ sucrase-node build.ts
Loading data
Copying glyphs from ligature font
Copying glyphs from ASCII font
Copying glyphs from CJK font
Copying ligature glyphs
Adding ligature information
Generating a font
Adding CMAP format 12 (needed!)
Done in 13.11s.
mraiih@somnium:~/Dev/Projects/yuki-code$ ls output
YukiCode-Regular.otf
makenowjust commented 4 years ago

Close in favor of #2.