2017-12-18 22:04:17 +01:00
|
|
|
const webfontsGenerator = require('webfonts-generator');
|
|
|
|
|
|
|
|
webfontsGenerator({
|
|
|
|
files: [
|
2017-12-21 20:00:54 +01:00
|
|
|
"./ultrasonic.svg",
|
2017-12-18 22:04:17 +01:00
|
|
|
"./color.svg",
|
|
|
|
"./touch.svg",
|
2017-12-21 20:00:54 +01:00
|
|
|
"./gyro.svg",
|
|
|
|
"./categories/addpackage.svg",
|
|
|
|
"./categories/brick.svg",
|
|
|
|
"./categories/controls.svg",
|
|
|
|
"./categories/functions.svg",
|
|
|
|
"./categories/list.svg",
|
|
|
|
"./categories/logic.svg",
|
|
|
|
"./categories/loops.svg",
|
|
|
|
"./categories/math.svg",
|
|
|
|
"./categories/motors.svg",
|
|
|
|
"./categories/music.svg",
|
|
|
|
"./categories/sensors.svg",
|
|
|
|
"./categories/text.svg",
|
|
|
|
"./categories/variables.svg",
|
|
|
|
"./icons/cancel.svg",
|
|
|
|
"./icons/check.svg",
|
|
|
|
"./icons/download.svg",
|
2018-01-03 02:30:19 +01:00
|
|
|
"./icons/save.svg",
|
|
|
|
"./categories/advancedcollapsed.svg",
|
|
|
|
"./categories/advancedexpanded.svg"
|
2017-12-18 22:04:17 +01:00
|
|
|
],
|
|
|
|
dest: '../docs/static/fonts/icons/',
|
|
|
|
round: 10
|
|
|
|
}, function(error) {
|
|
|
|
if (error) {
|
|
|
|
console.log('Fail!', error);
|
|
|
|
} else {
|
|
|
|
console.log('Done!');
|
|
|
|
}
|
|
|
|
})
|