Skip to content

Commit

Permalink
Chore: remove bundling of ESLint during release
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Dec 16, 2019
1 parent ab912f0 commit de9e0d9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Makefile.js
Expand Up @@ -560,7 +560,7 @@ target.mocha = () => {
target.karma = () => {
echo("Running unit tests on browsers");

target.webpack();
target.webpack("production");

const browserFileLintOutput = new CLIEngine({
useEslintrc: false,
Expand Down Expand Up @@ -775,15 +775,6 @@ target.gensite = function(prereleaseVersion) {
echo("> Removing the temporary directory (Step 12)");
rm("-rf", TEMP_DIR);

// 13. Update demos, but only for non-prereleases
if (!prereleaseVersion) {
echo("> Updating the demos (Step 13)");
target.webpack("production");
cp("-f", "build/eslint.js", `${SITE_DIR}src/js/eslint.js`);
} else {
echo("> Skipped updating the demos (Step 13)");
}

// 14. Create Example Formatter Output Page
echo("> Creating the formatter examples (Step 14)");
generateFormatterExamples(getFormatterResults(), prereleaseVersion);
Expand Down

0 comments on commit de9e0d9

Please sign in to comment.