Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed gulp premerge task #2357

Merged
merged 7 commits into from
Jun 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ before_install:
install:
- npm ci
before_script:
- npm install -g gulp
- gulp
- gulp premerge
# Rebuild Prism
- npx gulp
# Detect changes
# First, we stage all changes and then detect if there is anything staged
- git add --all && git diff-index --cached HEAD --stat --exit-code ||
(echo && echo "The above files changed because the build is not up to date." && echo "Please rebuild Prism." && exit 1)
script: npm test
deploy:
provider: npm
Expand Down
2 changes: 0 additions & 2 deletions gulpfile.js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const util = require('util');
const fs = require('fs');

const paths = require('./paths');
const { premerge } = require('./premerge');
const { changes, linkify } = require('./changelog');


Expand Down Expand Up @@ -216,7 +215,6 @@ const plugins = series(languagePlugins, minifyPlugins);
module.exports = {
watch: watchComponentsAndPlugins,
default: parallel(components, plugins, componentsJsonToJs, build),
premerge,
linkify,
changes
};
20 changes: 0 additions & 20 deletions gulpfile.js/premerge.js

This file was deleted.