BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
913aca1d
Commit
913aca1d
authored
Aug 01, 2017
by
Lin Jen-Shin (godfat)
Committed by
Rémy Coutable
Aug 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure we didn't commit conflicts
parent
0bbf0064
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lint-conflicts.sh
scripts/lint-conflicts.sh
+5
-0
static-analysis
scripts/static-analysis
+2
-1
No files found.
scripts/lint-conflicts.sh
0 → 100755
View file @
913aca1d
#!/bin/sh
output
=
`
git ls-files
-z
|
grep
-zvE
'\.(rb|js|haml)$'
| xargs
-0n1
grep
-HEn
'^<<<<<<< '
`
echo
$output
test
-z
"
$output
"
scripts/static-analysis
View file @
913aca1d
...
...
@@ -11,7 +11,8 @@ tasks = [
%w[bundle exec rake brakeman]
,
%w[bundle exec license_finder]
,
%w[yarn run eslint]
,
%w[bundle exec rubocop --require rubocop-rspec]
%w[bundle exec rubocop --require rubocop-rspec]
,
%w[scripts/lint-conflicts.sh]
]
failed_tasks
=
tasks
.
reduce
({})
do
|
failures
,
task
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment