code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-LOCK HOOK # # The post-lock hook is run after a path is locked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-lock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this repos...
Shell
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # This script is used by the MAINTAINER to make copies of the stylesheets for # the base Zen theme from the stylesheets in the STARTERKIT. rm *.css; for FILENAME in ../../STARTERKIT/css/*.css; do cp ../../STARTERKIT/css/$FILENAME .; done # Don't need the core reference. rm drupal7-reference.css; rm ../i...
Shell
#!/bin/sh # This script is used by the MAINTAINER to make copies of the stylesheets for # the base Zen theme from the stylesheets in the STARTERKIT. rm *.css; for FILENAME in ../../STARTERKIT/css/*.css; do cp ../../STARTERKIT/css/$FILENAME .; done # Don't need the core reference. rm drupal7-reference.css; rm ../i...
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh # This script is used by the MAINTAINER to make copies of the stylesheets for # the base Zen theme from the stylesheets in the STARTERKIT. rm *.css; for FILENAME in ../../STARTERKIT/css/*.css; do cp ../../STARTERKIT/css/$FILENAME .; done # Don't need the core reference. rm drupal7-reference.css; rm ../i...
Shell
#!/bin/sh # This script is used by the MAINTAINER to make copies of the stylesheets for # the base Zen theme from the stylesheets in the STARTERKIT. rm *.css; for FILENAME in ../../STARTERKIT/css/*.css; do cp ../../STARTERKIT/css/$FILENAME .; done # Don't need the core reference. rm drupal7-reference.css; rm ../i...
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
<?php /** * @file * This script runs Drupal tests from command line. */ define('SIMPLETEST_SCRIPT_COLOR_PASS', 32); // Green. define('SIMPLETEST_SCRIPT_COLOR_FAIL', 31); // Red. define('SIMPLETEST_SCRIPT_COLOR_EXCEPTION', 33); // Brown. // Set defaults and get overrides. list($args, $count) = simpletest_script_par...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
clear; ./manage.py test website --settings=fudepan.test_settings
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#!/bin/sh export COPY_EXTENDED_ATTRIBUTES_DISABLE=true export COPYFILE_DISABLE=true tar --exclude .DS_Store --exclude .svn --exclude '._*' -czvf theme-stressfree.tar.gz theme-stressfree export COPY_EXTENDED_ATTRIBUTES_DISABLE=false export COPYFILE_DISABLE=false
Shell
#! /bin/sh autoheader \ && aclocal \ && automake --add-missing \ && autoconf
Shell
#! /bin/sh autoheader \ && aclocal \ && automake --add-missing \ && autoconf
Shell
#!/bin/sh # Copyright 2009 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. set -e gomake hello fib chain echo '*' hello >run.out ./hello >>run.out echo '*' fib >>run.out ./fib >>run.out echo '*' chain >>run.out ./chain >>run.ou...
Shell
#!/bin/sh # Copyright 2010 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. set -e gomake life echo '*' life >run.out ./life >>run.out diff run.out golden.out gomake clean
Shell
#!/usr/bin/env bash # Copyright 2010 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. # This is a small script for executing go binaries on the android platform. # # example: # ./a 5.out foo bar baz # # The script exports the l...
Shell
#!/usr/bin/env bash # Copyright 2009 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. set -e . ./env.bash case "`uname`" in Darwin) ;; *) exit 0 esac for i in prof cov do sudo cp "$GOROOT"/src/cmd/$i/6$i /usr/local/bin/6$i ...
Shell
#!/usr/bin/env bash # Copyright 2009 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. set -e if [ ! -f make.bash ]; then echo 'all.bash must be run from $GOROOT/src' 1>&2 exit 1 fi . ./make.bash bash run.bash --no-env --no-rebu...
Shell
#!/usr/bin/env bash # Copyright 2009 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. # The master for this file is $GOROOT/src/quietgcc.bash # Changes made to $GOBIN/quietgcc will be overwritten. # Gcc output that we don't care...
Shell
#!/usr/bin/env bash # Copyright 2009 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. set -e if [ ! -f env.bash ]; then echo 'make.bash must be run from $GOROOT/src' 1>&2 exit 1 fi . ./env.bash if ld --version 2>&1 | grep 'gol...
Shell
#!/usr/bin/env bash # Copyright 2009 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. eval $(gomake --no-print-directory -f ../Make.inc go-env) OUT="Make.deps" TMP="Make.deps.tmp" if [ -f $OUT ] && ! [ -w $OUT ]; then echo "$0...
Shell
#!/usr/bin/env bash # Copyright 2009 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. # Generate Go code listing errors and other #defined constant # values (ENAMETOOLONG etc.), by asking the preprocessor # about the definitions....
Shell
#!/usr/bin/env bash # Copyright 2009 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. # Generate Go code listing errors and other #defined constant # values (ENAMETOOLONG etc.), by asking the preprocessor # about the definitions....
Shell
#!/usr/bin/env bash # Copyright 2010 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. GOROOT=$(dirname $0)/.. # If a version file created by -save is available, use it if [ -f "$GOROOT/VERSION" -a "$1" != "-save" ]; then cat $G...
Shell
#!/usr/bin/env bash # Copyright 2009 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. # If set to a Windows-style path convert to an MSYS-Unix # one using the built-in shell commands. if [[ "$GOROOT" == *:* ]]; then GOROOT=$...
Shell
#!/usr/bin/env bash # Copyright 2009 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. set -e if [ "$1" = "--no-env" ]; then # caller has already run env.bash shift else . ./env.bash fi unset MAKEFLAGS # single-threaded make ...
Shell
#!/usr/bin/env bash # Copyright 2011 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. eval $(gomake --no-print-directory -f ../../Make.inc go-env) TMP="testdata_tmp.go" TEST="testdata.c" GOLDEN="testdata_${GOOS}_${GOARCH}.golden...
Shell
#!/usr/bin/env bash # Copyright 2010 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. # Using all the non-test *.go files in the named directory, write # out a file /tmp/$USER.try.go to evaluate the expressions on the # command l...
Shell
#!/bin/sh # Copyright 2009 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. # Generate builtin.c and builtin.c.boot from $* (runtime.go and unsafe.go). # Run this after changing runtime.go and unsafe.go # or after changing the ex...
Shell
#!/usr/bin/env bash # Copyright 2009 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. eval $(gomake --no-print-directory -f ../../Make.inc go-env) if [ -z "$O" ]; then echo 'missing $O - maybe no Make.$GOARCH?' 1>&2 exit 1 fi ...
Shell
#!/usr/bin/env bash # Copyright 2011 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. # Run all.bash but exclude tests that depend on functionality # missing in QEMU's system call emulation. export GOARCH=arm export NOTEST="" N...
Shell
#!/usr/bin/env bash # Copyright 2009 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. set -e if [ ! -f env.bash ]; then echo 'clean.bash must be run from $GOROOT/src' 1>&2 exit 1 fi . ./env.bash if [ ! -f Make.inc ] ; then ...
Shell
#!/bin/sh # Copyright 2009 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. set -e TMPL=${1:-go_tutorial.tmpl} # input file HTML=$(basename $TMPL .tmpl).html # output file (basename) if ! test -w $HTML then echo 1>&2 makehtm...
Shell
#!/usr/bin/env bash set -e wiki_pid= cleanup() { kill $wiki_pid rm -f test_*.out Test.txt final-test.bin final-test.go } trap cleanup 0 INT gomake get.bin addr=$(./get.bin -addr) sed s/:8080/$addr/ < final.go > final-test.go gomake final-test.bin (./final-test.bin) & wiki_pid=$! sleep 1 ./get.bin http://$addr/edi...
Shell