[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/gpujs/gpu.js/develop/scripts/make.js [Back]  [Original]

// The whole pipeline, in the order gulp ran it. beautify comes after build on
// purpose: the bundle is produced from the sources as committed, and any
// reformatting lands in the next build.
const { build } = require('./build');
const { beautify } = require('./beautify');
const { minify } = require('./minify');
const { buildTests } = require('./build-tests');

async function make() {
  console.log('build');
  await build();
  console.log('beautify');
  beautify();
  console.log('minify');
  await minify();
  console.log('build-tests');
  buildTests();
}

make().catch(error => {
  console.error(error);
  process.exit(1);
});

Web Proxy Viewer  |  New URL  |  Original Page