Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for go (0.18 sec)

  1. common/scripts/lint_go.sh

    # 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
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Jan 26 21:57:53 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  2. misc/wasm/go_js_wasm_exec

    #!/usr/bin/env bash
    # Copyright 2018 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    SOURCE="${BASH_SOURCE[0]}"
    while [ -h "$SOURCE" ]; do
    	DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    	SOURCE="$(readlink "$SOURCE")"
    	[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
    done
    DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Feb 02 15:35:28 GMT 2023
    - 603 bytes
    - Viewed (0)
  3. common/scripts/format_go.sh

    # 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
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Aug 07 22:53:31 GMT 2020
    - 1020 bytes
    - Viewed (0)
  4. misc/wasm/go_wasip1_wasm_exec

    #!/usr/bin/env bash
    # Copyright 2023 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    case "$GOWASIRUNTIME" in
    	"wasmedge")
    		exec wasmedge --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}"
    		;;
    	"wasmer")
    		exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}"
    		;;
    	"wazero")
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 17:09:10 GMT 2024
    - 797 bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

    else
      LOCAL_OUT="${TARGET_OUT}"
    fi
    
    go_os_arch=${LOCAL_OUT##*/}
    # Golang OS/Arch format
    LOCAL_GO_OS=${go_os_arch%_*}
    LOCAL_GO_ARCH=${go_os_arch##*_}
    
    BUILD_WITH_CONTAINER=0
    
    VARS=(
          CONTAINER_TARGET_OUT
          CONTAINER_TARGET_OUT_LINUX
          TARGET_OUT
          TARGET_OUT_LINUX
          LOCAL_GO_OS
          LOCAL_GO_ARCH
          LOCAL_OUT
          LOCAL_OS
          TARGET_OS
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. buildscripts/minio-upgrade.sh

    	sleep 20
    }
    
    __init__() {
    	sudo apt install curl -y
    	export GOPATH=/tmp/gopath
    	export PATH=${PATH}:${GOPATH}/bin
    
    	go install github.com/minio/mc@latest
    
    	## this is needed because github actions don't have
    	## docker-compose on all runners
    	go install github.com/docker/compose/v2/cmd@latest
    	mv -v /tmp/gopath/bin/cmd /tmp/gopath/bin/docker-compose
    
    	TAG=minio/minio:dev make docker
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. buildscripts/heal-inconsistent-versions.sh

    		if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    			echo "failed to download https://github.com/minio/mc"
    			purge "${MC_BUILD_DIR}"
    			exit 1
    		fi
    
    		(cd "${MC_BUILD_DIR}" && go build -o "$C_PWD/mc")
    
    		# remove mc source.
    		purge "${MC_BUILD_DIR}"
    	fi
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/disk{1...4}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 5
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    	fi
    
    	if [ ! -x ./minio.${OLD_VERSION} ]; then
    		echo "Downloading minio.${OLD_VERSION} binary"
    		curl -o minio.${OLD_VERSION} ${OLD_BINARY_LINK}
    		chmod +x minio.${OLD_VERSION}
    	fi
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. buildscripts/verify-build.sh

    	if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    		echo "failed to download https://github.com/minio/mc"
    		purge "${MC_BUILD_DIR}"
    		exit 1
    	fi
    
    	(cd "${MC_BUILD_DIR}" && go build -o "$WORK_DIR/mc")
    
    	# remove mc source.
    	purge "${MC_BUILD_DIR}"
    
    	shred -n 1 -s 1M - 1>"$FILE_1_MB" 2>/dev/null
    	shred -n 1 -s 65M - 1>"$FILE_65_MB" 2>/dev/null
    
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  10. tests/tests_all.sh

    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
          MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker-compose start || true
          go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest || true
    Shell Script
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 1.6K bytes
    - Viewed (0)
Back to top