Flat, round, designer-friendly pseudo-3D engine for canvas & SVG
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ‘Ÿ remove versionTick make task

+5 -5
+2 -3
Makefile
··· 9 9 10 10 dist: bundle uglify 11 11 12 - versionTick: 12 + version: 13 13 node ./tasks/version 14 - 15 - version: versionTick dist 14 + make dist 16 15 git add -A dist js
+3 -2
tasks/bundle.js
··· 2 2 const execSync = require('child_process').execSync; 3 3 4 4 // get file paths from index.js 5 - let indexSrc = fs.readFileSync( './js/index.js', 'utf8' ); 5 + const indexPath = 'js/index.js'; 6 + let indexSrc = fs.readFileSync( `./${indexPath}`, 'utf8' ); 6 7 let cjsBlockRegex = /module\.exports = factory\([\w ,'\.\-\(\)\/\n]+;/i; 7 8 let cjsBlockMatch = indexSrc.match( cjsBlockRegex ); 8 9 let paths = cjsBlockMatch[0].match( /require\('([\.\-\/\w]+)'\)/gi ); ··· 10 11 paths = paths.map( function( path ) { 11 12 return path.replace( `require('.`, 'js' ).replace( `')`, '.js' ); 12 13 }); 13 - paths.push('js/index.js'); 14 + paths.push( indexPath ); 14 15 15 16 execSync( `cat ${paths.join(' ')} > dist/zdog.dist.js`); 16 17