Closed jleider closed 8 years ago
I am not sure why this test is failing on travis-ci. All tests pass locally and when I run the tests without the clean at the end this is the result of the tests. As you can see there are no files that are outside of the test/tmp
directory. Hopefully someone with some travis-ci can point me in the right direction?
ls -alR 02/24 11:26:01 0.005s
total 0
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 .
drwxr-xr-x 12 justin staff 408 Feb 24 11:25 ..
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 camel
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 codepoints
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 custom_output
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 custom_output_css
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 custom_output_icons
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 disable_demo
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 duplicate_names
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 embed
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 embed_ttf
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 embed_ttf_woff
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 embed_woff
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 folders
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 html_filename
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 html_template
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 ie7
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 ie7_bootstrap
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 less
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 ligatures
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 node
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 non_css_demo
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 one
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 order
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 parent_source
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 relative_path
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 sass
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 spaces
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 stylus_bem
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 stylus_bootstrap
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 target_overrides_css
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 target_overrides_icons
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 template
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 template_options
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 template_sass
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 template_scss
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 test1
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 test2
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 woff2
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 woff2_node
./camel:
total 56
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 670 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 5426 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 3742 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 5260 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3256 Feb 24 11:25 icons.woff
./codepoints:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 802 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6118 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4213 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 5952 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3812 Feb 24 11:25 icons.woff
./custom_output:
total 32
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 188 Feb 24 11:25 context-test.html
-rw-r--r-- 1 justin staff 4416 Feb 24 11:25 custom.json
-rw-r--r-- 1 justin staff 104 Feb 24 11:25 test-icon-config.js
./custom_output_css:
total 16
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 1003 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 3154 Feb 24 11:25 icons.html
./custom_output_icons:
total 40
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./disable_demo:
total 48
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 722 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 4838 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4672 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 2756 Feb 24 11:25 icons.woff
./duplicate_names:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 838 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6146 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4327 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 5980 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3376 Feb 24 11:25 icons.woff
./embed:
total 160
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6058 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 55918 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
./embed_ttf:
total 192
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 8746 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 83728 Feb 24 11:25 icons.html
./embed_ttf_woff:
total 304
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 13926 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 135528 Feb 24 11:25 icons.html
./embed_woff:
total 128
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 5839 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 54658 Feb 24 11:25 icons.html
./folders:
total 72
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 994 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 7410 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4835 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 7244 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 4744 Feb 24 11:25 icons.woff
./html_filename:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 911 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
-rw-r--r-- 1 justin staff 5213 Feb 24 11:25 index.html
./html_template:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 911 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5169 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./ie7:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 1323 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4734 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./ie7_bootstrap:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 1538 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4924 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./less:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5213 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 961 Feb 24 11:25 icons.less
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./ligatures:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 749 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6630 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4226 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6464 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3908 Feb 24 11:25 icons.woff
./node:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 812 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6536 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4223 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6380 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3944 Feb 24 11:25 icons.woff
./non_css_demo:
total 56
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 3122 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 1021 Feb 24 11:25 icons.less
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./one:
total 56
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 623 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 4838 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 3583 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 4672 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 2756 Feb 24 11:25 icons.woff
./order:
total 32
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 735 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 3523 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 3973 Feb 24 11:25 icons.svg
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./parent_source:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 812 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4223 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./relative_path:
total 56
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 872 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 3023 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./sass:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 905 Feb 24 11:25 _icons.sass
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5213 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./spaces:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 726 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 5050 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4589 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 4884 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 2948 Feb 24 11:25 icons.woff
./stylus_bem:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5173 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 901 Feb 24 11:25 icons.styl
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./stylus_bootstrap:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5326 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 1073 Feb 24 11:25 icons.styl
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./target_overrides_css:
total 16
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 1015 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 3166 Feb 24 11:25 icons.html
./target_overrides_icons:
total 40
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./template:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 715 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5017 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./template_options:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4281 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 873 Feb 24 11:25 icons.less
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./template_sass:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 669 Feb 24 11:25 _icons.sass
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4977 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./template_scss:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 709 Feb 24 11:25 _icons.scss
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 5017 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./test1:
total 64
drwxr-xr-x 7 justin staff 238 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 812 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 6170 Feb 24 11:25 icons.eot
-rw-r--r-- 1 justin staff 4223 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 6004 Feb 24 11:25 icons.ttf
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
./test2:
total 16
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 fonts
-rw-r--r-- 1 justin staff 996 Feb 24 11:25 myfont.css
-rw-r--r-- 1 justin staff 3106 Feb 24 11:25 myfont.html
./test2/fonts:
total 16
drwxr-xr-x 4 justin staff 136 Feb 24 11:25 .
drwxr-xr-x 5 justin staff 170 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 3975 Feb 24 11:25 myfont.svg
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 myfont.woff
./woff2:
total 40
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 799 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 4163 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 3828 Feb 24 11:25 icons.woff
-rw-r--r-- 1 justin staff 3164 Feb 24 11:25 icons.woff2
./woff2_node:
total 40
drwxr-xr-x 6 justin staff 204 Feb 24 11:25 .
drwxr-xr-x 40 justin staff 1360 Feb 24 11:25 ..
-rw-r--r-- 1 justin staff 799 Feb 24 11:25 icons.css
-rw-r--r-- 1 justin staff 4163 Feb 24 11:25 icons.html
-rw-r--r-- 1 justin staff 3948 Feb 24 11:25 icons.woff
-rw-r--r-- 1 justin staff 3336 Feb 24 11:25 icons.woff2
It's only failing on node v5+. What version of node are you running locally?
Yeah, and I don’t think it fails because of your changes.
It fails in master with Node 5.7.0 (was fine in 5.6.0) on my Mac too.
Here is the reason: https://github.com/gruntjs/grunt-contrib-clean/issues/85
Ah, yes that would explain it. I am running Node v 5.3.0.
Looks like it’s Node bug (see the comments by the link above).
Out in 1.2.0, thanks! (As well as new Node 5.7.1 that fixes a bug that caused tests to fail.)
My demo.html crashed because the variable o.relativeFontPath is an empty string and new RegExp with an empty string appends it to anything.
e.g.:
'abc'.replace(new RegExp('', 'g'), 'x')
// => "xaxbxcx"
My demo.html contains the following:
@font-face { font-family:"icons"; src:../../u../../r../../l../../(../../"../../i../../c../../o../../n../../s../../.../../e../../o../../t../../?../../7../../0../../3../../b../../9../../5../../e../../2../../4../../a../../4../../1../../d../../6../../4../../1../../0../../c../../e../../e../../e../../0../../7../../a../../6../../2../../7../../0../../5../../7../../2../../0../../"../../)../../; src:../../u../../r../../l../../(../../"../../i../../c../../o../../n../../s../../.../../e../../o../../t../../?../../#../../i../../e../../f../../i../../x../../"../../)../../ ../../f../../o../../r../../m../../a../../t../../(../../"../../e../../m../../b../../e../../d../../d../../e../../d../../-../../o../../p../../e../../n../../t../../y../../p../../e../../"../../)../../,../../ ../../ ../../ ../../u../../r../../l../../(../../"../../i../../c../../o../../n../../s../../.../../w../../o../../f../../f../../?../../7../../0../../3../../b../../9../../5../../e../../2../../4../../a../../4../../1../../d../../6../../4../../1../../0../../c../../e../../e../../e../../0../../7../../a../../6../../2../../7../../0../../5../../7../../2../../0../../"../../)../../ ../../f../../o../../r../../m../../a../../t../../(../../"../../w../../o../../f../../f../../"../../)../../,../../ ../../ ../../ ../../u../../r../../l../../(../../"../../i../../c../../o../../n../../s../../.../../t../../t../../f../../?../../7../../0../../3../../b../../9../../5../../e../../2../../4../../a../../4../../1../../d../../6../../4../../1../../0../../c../../e../../e../../e../../0../../7../../a../../6../../2../../7../../0../../5../../7../../2../../0../../"../../)../../ ../../f../../o../../r../../m../../a../../t../../(../../"../../t../../r../../u../../e../../t../../y../../p../../e../../"../../)../../; font-weight:normal; font-style:normal; }
That's the expected code:
@font-face { font-family:"icons"; src:url("icons.eot?461d2ef4c18646accfd75bcd2137e4e7"); src:url("icons.eot?#iefix") format("embedded-opentype"), url("icons.woff?461d2ef4c18646accfd75bcd2137e4e7") format("woff"), url("icons.ttf?461d2ef4c18646accfd75bcd2137e4e7") format("truetype"); font-weight:normal; font-style:normal; }
Temporary I fixed it with a short if condition. I'm not sure if this would be the best solution: https://github.com/fry2k/grunt-webfont/commit/bab011e194011ca391431d9c9f269015f624fecb
A Temporary solution for me is also set the option options.relativeFontPath to the same value like dest at the grunt task-definition
dest, destCss and destHtml have all the same path at my env: "dist/font" The old Code normalizePath(path.relative(o.destHtml, o.dest)) returns an empty string at my env normalizePath(path.relative(o.destHtml, o.relativeFontPath)); returns ../../ at my env
This fixes an issue where the generated CSS was taking into account the relativeFontPath but the HTML demo was not.