-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update lint scripts and CI configs.
- Loading branch information
Showing
20 changed files
with
109 additions
and
633 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
.goassets |
This file contains 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# DO NOT EDIT THIS FILE | ||
# | ||
# It is automatically copied from https://github.com/pion/.goassets repository. | ||
# | ||
# If you want to update the shared CI config, send a PR to | ||
# https://github.com/pion/.goassets instead of this repository. | ||
# | ||
|
||
set -eu | ||
|
||
SCRIPT_PATH="$(realpath "$(dirname "$0")")" | ||
GOASSETS_PATH="${SCRIPT_PATH}/.goassets" | ||
|
||
GOASSETS_REF=${GOASSETS_REF:-master} | ||
|
||
if [ -d "${GOASSETS_PATH}" ]; then | ||
if ! git -C "${GOASSETS_PATH}" diff --exit-code; then | ||
echo "${GOASSETS_PATH} has uncommitted changes" >&2 | ||
exit 1 | ||
fi | ||
git -C "${GOASSETS_PATH}" fetch origin | ||
git -C "${GOASSETS_PATH}" checkout ${GOASSETS_REF} | ||
git -C "${GOASSETS_PATH}" reset --hard origin/${GOASSETS_REF} | ||
else | ||
git clone -b ${GOASSETS_REF} https://github.com/pion/.goassets.git "${GOASSETS_PATH}" | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Oops, something went wrong.