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 a669117
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 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,16 +775,7 @@ 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
// 13. Create Example Formatter Output Page
echo("> Creating the formatter examples (Step 14)");
generateFormatterExamples(getFormatterResults(), prereleaseVersion);

Expand Down

0 comments on commit a669117

Please sign in to comment.