mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
5340c35ce1
* Rename groupId, artifactId, project name, title, ... * Remove .swagger-codegen/VERSION file
18 lines
474 B
Bash
Executable File
18 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# grep for '<<<<<<< HEAD' in openapi-generator
|
|
grep -RUIl '<<<<<<< HEAD' modules/openapi-generator/src
|
|
|
|
if [ $? -ne 1 ]; then
|
|
echo "modules/openapi-generator/src contain merge conflicts '<<<<<<< HEAD'. Please remove it and try again."
|
|
exit 1;
|
|
fi
|
|
|
|
# grep for '<<<<<<< HEAD' in the samples
|
|
grep -RUIl '<<<<<<< HEAD' samples/
|
|
|
|
if [ $? -ne 1 ]; then
|
|
echo "samples/ contain merge conflicts '<<<<<<< HEAD'. Please remove it and try again."
|
|
exit 1;
|
|
fi
|