- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for if (0.64 sec)
-
common/scripts/fix_copyright_banner.sh
# limitations under the License. set -e WD=$(dirname "$0") WD=$(cd "$WD"; pwd) for fn in "$@"; do if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}") echo "${newfile}" > "${fn}" echo "Fixing license: ${fn}" else
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 17 04:35:57 GMT 2022 - 1.3K bytes - Viewed (0) -
common/scripts/check_clean_repo.sh
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. function write_patch_file() { if [ -z "${ARTIFACTS}" ]; then return 0 fi PATCH_NAME="check-clean-repo-diff.patch" PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}" git diff > "${PATCH_OUT}"
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 11 22:57:12 GMT 2023 - 1.7K bytes - Viewed (0) -
common/scripts/gobuild.sh
IFS=' ' read -r -a GOBUILDFLAGS_ARRAY <<< "$GOBUILDFLAGS" GCFLAGS=${GCFLAGS:-} export CGO_ENABLED=${CGO_ENABLED:-0} if [[ "${STATIC}" != "1" ]];then LDFLAGS="" fi # gather buildinfo if not already provided # For a release build BUILDINFO should be produced # at the beginning of the build and used throughout if [[ -z ${BUILDINFO} ]];then BUILDINFO=$(mktemp) "${SCRIPTPATH}/report_build_info.sh" > "${BUILDINFO}" fi
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Oct 21 14:08:46 GMT 2022 - 2.4K bytes - Viewed (0) -
bin/check_samples.sh
SCRIPTPATH=$( cd "$(dirname "$0")" && pwd -P ) ROOTDIR=$SCRIPTPATH/.. cd "$ROOTDIR" || exit # rely on go build cache ISTIOCTL=bin/istioctl go build -o $ISTIOCTL ./istioctl/cmd/istioctl for f in samples/**/*.yaml; do if grep -q -e "{{" "$f" ; then echo "Skipping check for helm template $f" continue else echo "Validating $f..." $ISTIOCTL validate -x \ -f "$f" fi
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Nov 04 01:54:50 GMT 2023 - 1010 bytes - Viewed (0) -
common/scripts/format_go.sh
#!/bin/bash # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY # # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". # Copyright Istio Authors #
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Aug 07 22:53:31 GMT 2020 - 1020 bytes - Viewed (0)