Skip to content

Instantly share code, notes, and snippets.

@mohayonao
Created July 8, 2016 10:59
Show Gist options
  • Select an option

  • Save mohayonao/a892550f37d4cd0f3325cc53eda5fa99 to your computer and use it in GitHub Desktop.

Select an option

Save mohayonao/a892550f37d4cd0f3325cc53eda5fa99 to your computer and use it in GitHub Desktop.
"use strict";
const fs = require("fs")
fs.readdirSync(__dirname).filter((x) => {
return x.includes("SCUnit") && !x.includes("Kernel") && !x.includes("Expressions");
}).sort().map(x => x.replace(".js", "")).forEach((x) => {
console.log(` ${ x }: require("./${ x }"),`)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment