This repository was archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
ON HOLD. need to not have a PR that is 95 files... #5038
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
37b564a
chore(test): move error tests off of the control flow.
cnishina 6684f0f
epic refactor! things are broken! such everywhere! much epic!
cnishina ce4867e
well there are things that need to be cleaned up but it kinda works?
cnishina 84fe80f
cleaned up
cnishina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ gulp.task('tslint', function() { | |
}); | ||
|
||
gulp.task('lint', function(done) { | ||
runSequence('tslint', 'jshint', 'format:enforce', done); | ||
runSequence('tslint', 'format:enforce', done); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Most of these here are to clean up jshint and remove a not used done statement. |
||
}); | ||
|
||
// prevent contributors from using the wrong version of node | ||
|
@@ -59,22 +59,15 @@ gulp.task('checkVersion', function(done) { | |
} | ||
}); | ||
|
||
gulp.task('built:copy', function(done) { | ||
gulp.task('built:copy', function() { | ||
return gulp.src(['lib/**/*.js']) | ||
.pipe(gulp.dest('built/')); | ||
done(); | ||
}); | ||
|
||
gulp.task('webdriver:update', function(done) { | ||
runSpawn(done, 'node', ['bin/webdriver-manager', 'update']); | ||
}); | ||
|
||
gulp.task('jshint', function(done) { | ||
runSpawn(done, 'node', ['node_modules/jshint/bin/jshint', '-c', | ||
'.jshintrc', 'lib', 'spec', 'scripts', | ||
'--exclude=lib/selenium-webdriver/**/*.js,lib/webdriver-js-extender/**/*.js,' + | ||
'spec/dependencyTest/*.js,spec/install/**/*.js']); | ||
}); | ||
|
||
gulp.task('format:enforce', function() { | ||
var format = require('gulp-clang-format'); | ||
|
@@ -107,12 +100,12 @@ gulp.task('compile_to_es5', function(done) { | |
}); | ||
|
||
gulp.task('prepublish', function(done) { | ||
runSequence('checkVersion', 'jshint', 'tsc', 'built:copy', done); | ||
runSequence('checkVersion', 'tsc', 'built:copy', done); | ||
}); | ||
|
||
gulp.task('pretest', function(done) { | ||
runSequence('checkVersion', | ||
['webdriver:update', 'jshint', 'tslint', 'format'], 'tsc', 'built:copy', 'tsc:spec', done); | ||
['webdriver:update', 'tslint', 'format'], 'tsc', 'built:copy', 'tsc:spec', done); | ||
}); | ||
|
||
gulp.task('default',['prepublish']); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was to just call the correct webdriver-manager in circle. We need these binaries for some tests.