code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
#
# CA - wrapper around ca to make it easier to use ... basically ca requires
# some setup stuff to be done before you can use it and this makes
# things easier between now and when Eric is convinced to fix it :-)
#
# CA -newca ... will setup the right stuff
# CA -newreq ... will generate a certific... | Shell |
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# 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 a... | Shell |
#!/bin/sh
if [ "$1" = "" ]; then
key=../apps/server.pem
else
key="$1"
fi
if [ "$2" = "" ]; then
cert=../apps/server.pem
else
cert="$2"
fi
ssltest="adb shell /system/bin/ssltest -key $key -cert $cert -c_key $key -c_cert $cert"
if adb shell /system/bin/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key... | Shell |
#!/bin/bash
#
# Copyright (C) 2010 The Android Open Source Project
#
# 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 a... | Shell |
#!/bin/sh
/bin/rm -f mttest
purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/sh
/bin/rm -f mttest
cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/sh
#
# build using pthreads where it's already built into the system
#
/bin/rm -f mttest
gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
| Shell |
#!/bin/sh
#
# build using pthreads
#
# http://www.mit.edu:8001/people/proven/pthreads.html
#
/bin/rm -f mttest
pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
| Shell |
#!/bin/sh
/bin/rm -f mttest
cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket
| Shell |
#!/bin/bash
#
# Copyright (C) 2009 The Android Open Source Project
#
# 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 a... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2010-11-15.09; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it un... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2009-04-28.21; # UTC
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@g... | Shell |
# Generated from ltmain.m4sh.
# libtool (GNU libtool) 2.2.10
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. T... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2011-04-16.09; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms o... | Shell |
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
scriptversion=2010-08-21.06; # UTC
# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005, 2007, 2009, 2010
# Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
# This program is free software; you ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free softw... | Shell |
#!/bin/sh
# py-compile - Compile a Python program
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
... | Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2011 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
scriptversion=2010-02-06.18; # UTC
# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
# 2007, 2009, 2010 Free Software Foundation, Inc.
#
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it a... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
set -e
#
# usage: util/overlap.sh [directory]
#
# This script runs the overlap example program on a complete directory tree.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
OVERLAP="overlap"
test -x ./examples/overlap && OVERLAP="./examples/overlap"
test -x ./overlap.exe && OVERLAP="./o... | Shell |
#! /bin/sh
set -e
#
# usage: util/checkasm.sh [directory]
#
# This script runs lzotest with all assembler decompressors
# on a complete directory tree.
# It is not suitable for accurate timings.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST=... | Shell |
#! /bin/sh
set -e
#
# usage: util/check.sh [directory]
#
# This script runs lzotest with all algorithms on a complete directory tree.
# It is not suitable for accurate timings.
#
# Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
#
LZOTEST="lzotest"
test -x ./lzotest/lzotest && LZOTEST="./lzotest/lzotest... | Shell |
#! /bin/bash
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU lzo 2.03)
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# ... | Shell |
#! /bin/sh
# vi:ts=4:et
# Copyright (C) 1996-2011 Markus F.X.J. Oberhumer
rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out
true
| Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Using GNU C compiler."
echo "//"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
UNAME_MACHINE=unknown
CC="gcc -fPIC"
CC="gcc -static"
CC="gcc"
CFLAGS="-Wall -O2 -fomit-frame-pointer"
# delete the next line to disable assembler support
UNAME_MACHINE... | Shell |
#! /bin/sh
# vi:ts=4:et
set -e
echo "// Copyright (C) 1996-2011 Markus F.X.J. Oberhumer"
echo "//"
echo "// Generic Posix/Unix system"
echo "// Generic C compiler"
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
test "X${AR}" = X && AR="ar"
test "X${CC}" = X && CC="cc"
test "X${CFLAGS+... | Shell |
#! /bin/sh
# vi:ts=4:et
test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
LZO_CFG_FREESTANDING=1
. $top_srcdir/B/generic/build.sh
| Shell |
#!/bin/bash
# 打开apache.http调试信息
adb shell setprop log.tag.org.apache.http VERBOSE
adb shell setprop log.tag.org.apache.http.wire VERBOSE
adb shell setprop log.tag.org.apache.http.headers VERBOSE
echo "Enable Debug"
| Shell |
#!/bin/bash
# run "./runTests.sh" for verbose output
# for short output, run
# ./runTests.sh | grep FAILED
# ./runTests.sh | grep PASSED
#master branch
SERVER_CLASS="org.ws4d.coap.test.PlugtestServer"
CLIENT_CLASS="org.ws4d.coap.test.PlugtestClient"
CLASSPATH="bin/:../ws4d-jcoap/bin"
LOG_DIR="log"
REF_LOG_DIR="logref"
... | Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
$PYTHON $TOOLS_DIR/console.py "$@"
| Shell |
#!/bin/bash
pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
if [ "$1" == "run" ]; then
shift
$PYTHON $APPENGINE_DIR/dev_appserver.py "$@"
else
$PYTHON $APPENGINE_DIR/appcfg.py "$@"
fi
| Shell |
#!/bin/bash
# Scripts in the tools/ directory should source this file with the line:
# pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null
export TOOLS_DIR=$(pwd)
export PROJECT_DIR=$(dirname $TOOLS_DIR)
export APP_DIR=$PROJECT_DIR/app
for dir in \
"$APPENGINE_DIR" \
/usr/lib/google_appen... | Shell |
#!/bin/sh
# Detects OS we're compiling on and generates build_config.mk,
# which in turn gets read while processing Makefile.
# build_config.mk will set the following variables:
# - PORT_CFLAGS will either set:
# -DLEVELDB_PLATFORM_POSIX if cstatomic is present
# -DLEVELDB_PLATFORM_NOATOMI... | Shell |
#!/bin/sh
include_docs=-Dgerrit.include-documentation=1
while [ $# -gt 0 ]
do
case "$1" in
--no-documentation|--without-documentation)
include_docs=
shift
;;
*)
echo >&2 "usage: $0 [--without-documentation]"
exit 1
esac
done
git update-index -q --refresh
if test -n "$(git diff-index --name-only HEAD -... | Shell |
#!/bin/sh
set -e
SRC=$(ls gerrit-plugin-api/target/gerrit-plugin-api-*-sources.jar)
VER=${SRC#gerrit-plugin-api/target/gerrit-plugin-api-}
VER=${VER%-sources.jar}
type=release
case $VER in
*-SNAPSHOT)
echo >&2 "fatal: Cannot deploy $VER"
echo >&2 " Use ./tools/version.sh --release && mvn clean package"
e... | Shell |
#!/bin/sh
# Update all pom.xml with new build number
#
# TODO(sop) This should be converted to some sort of
# Java based Maven plugin so its fully portable.
#
POM_FILES=$(git ls-files | grep pom.xml)
case "$1" in
--snapshot=*)
V=$(echo "$1" | perl -pe 's/^--snapshot=//')
if [ -z "$V" ]
then
echo >&2 "usage: $0 ... | Shell |
#!/bin/sh
export JETTY_HOST=127.0.0.1
export JETTY_PORT=8081
export JETTY_USER=gerrit2
export JETTY_PID=/var/run/jetty$JETTY_PORT.pid
export JETTY_HOME=/home/$JETTY_USER/jetty
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre
JAVA_OPTIONS=""
JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST"
export JAVA_OPTION... | Shell |
#!/bin/sh
#
# Part of Gerrit Code Review (http://code.google.com/p/gerrit/)
#
# Copyright (C) 2009 The Android Open Source Project
#
# 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://w... | Shell |
#!/bin/sh
V=$(git describe HEAD)
case "$V" in
'')
echo >&2 "fatal: no annotated tags, cannot determine version"
exit 1
;;
*-g*)
echo >&2 "fatal: snapshot $V, cannot determine version"
exit 1
;;
v*)
echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/'
;;
esac
| Shell |
#!/bin/sh
#
# Launch Gerrit Code Review as a daemon process.
# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
# chkconfig: 3 99 99
# description: Gerrit Code Review
# processname: gerrit
# ========================
# Configuration files:
#
# /etc/default/gerrit... | Shell |
#!/bin/bash
# Copyright (c) 2012, Code Aurora Forum. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# # Redistributions of source code must retain the above copyright
# notice, this list... | Shell |
#!/bin/bash
base=`dirname $0`
ROBOT_SYSLOG_FILE=$base/tmp/syslog.txt python $base/src/robot/run.py -P $base/atest/testresources/testlibs -P $base/tmp -L debug -d $base/tmp "$@"
| Shell |
#!/bin/bash
pybot --outputdir results --exclude parallel atest/ | Shell |
#!/bin/bash
python src/robot/rebot.py $1 >/dev/null &
#/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024m -Xss1024k -classpath /home/jth/opt/jython2.5.1/jython.jar: -Dpython.home=/home/jth/opt/jython2.5.1 -Dpython.executable=/home/jth/opt/jython2.5.1/jython org.python.util.jython src/robot/rebot.py $1 >/dev/null &
rebotpid... | Shell |
#!/bin/sh
DIR="$( cd "$( dirname "$0" )" && pwd )"
javac -target 1.5 -source 1.5 $DIR/testlibs/*.java
if [ -n "$JYTHON_HOME" ]
then
javac -cp $JYTHON_HOME/jython.jar -target 1.5 -source 1.5 $DIR/listeners/*.java
else
echo set JYTHON_HOME to compile listeners
fi
| Shell |
#!/bin/bash
testdir=`dirname $0`
pybot --loglevel DEBUG --log none --report none --outputdir $testdir $testdir/example.txt
python $testdir/../statuschecker.py $testdir/output.xml
rebot $testdir/output.xml
echo "$? tests failed, 5 should have failed."
echo "Check that tests starting with 'FAILURE:' have failed and other... | Shell |
#!/bin/bash
dirname=robotframework-c-example
zipname=$dirname-$(date +%Y%m%d).zip
files="README.txt login.c LoginLibrary.py LoginTests.tsv Makefile"
rm -rf $dirname $zipname
mkdir $dirname
echo Copying...
for file in $files; do
cp -v $file $dirname
done
echo Zipping...
zip -r $zipname $dirname
rm -rf $dirname
ech... | Shell |
#! /bin/sh
if [ -e Reference ]
then
rm -r Reference
fi
headerdoc2html -u -t -o Reference ../KeyNaming.h
#gatherheaderdoc Reference/ KeyNaming.html
cd Reference
ln -s KeyNaming/index.html KeyNaming.html
| Shell |
#! /bin/sh
if [ -e Reference ]
then
rm -r Reference
fi
headerdoc2html -u -t -o Reference ../KeyNaming.h
#gatherheaderdoc Reference/ KeyNaming.html
cd Reference
ln -s KeyNaming/index.html KeyNaming.html
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
set -e
make -C google-api install
make -C google-api-go-generator install
google-api-go-generator/google-api-go-gen -cache -api=tasks:v1
google-api-go-generator/google-api-go-gen -cache -api=urlshortener:v1
make -C tasks/v1 install
make -C urlshortener/v1 install
make -C examples
| Shell |
#!/bin/bash
ps -a |grep $1 |grep -v grep |grep -v pidexist
| Shell |
#!/bin/bash
kill -9 $1
| Shell |
#!/bin/bash
../platform-tools/adb shell dumpsys >"$@" &
PID=$!
echo $PID
| Shell |
#!/bin/bash
../platform-tools/adb -s $1 logcat -v time >"$2" &
PID=$!
echo $PID
| Shell |
#!/bin/bash
../platform-tools/adb shell ps >"$@" &
PID=$!
echo $PID
| Shell |
#!/bin/bash
../platform-tools/adb shell dmesg >"$@" &
PID=$!
echo $PID
| Shell |
#!/bin/bash
tcpdump -i $1 host $2 >"$3" &
PID=$!
echo $PID
| Shell |
#!/bin/bash
cat "$@" |perl -ne 'm/(.*, length )(\d*)/; print "$2\n"' |sort |uniq
| Shell |
#!/bin/bash
cat "$@" |perl -ne 'm/(.*? > )(.*?)(\.(\d+|\w+)\: .*)/; print "$2\n"' |sort |uniq
| Shell |
../configure \
--with-libxml2-dir=/Developer/SDKs/MacOSX10.6.sdk/usr \
--with-google-sparse-dir=/Users/rpechayr/Development/google-sparsehash-read-only/src \
CXXFLAGS="-g3 -Wall -DNO_GOOGLE_HASH"
| Shell |
#/bin/sh
rm -f ../gwtp-samples-$GWTPVER.zip ../gwtp-separate-$GWTPVER.zip ../gwtp-all-$GWTPVER.zip
rm -rf ../gwtp-samples/ ../gwtp-separate/ ../gwtp-all/
hg update gwtp-$GWTPVER
mvn clean
find . -name ".?*" -a -not -name ".hg*" -exec rm -rf {} \;
zip -r ../gwtp-samples-$GWTPVER.zip gwtp-samples
mvn install
cd ..
REPO=... | Shell |
#!/bin/sh
# Don't forget chmod +x codereviewMac.sh to mac this script executable
if [ -z $1 ]; then
echo "Usage:"
echo " codereview youremail@abc.com 22 24 \"Patchset comment\""
echo " Creates a new patch set for code review by comparing revision 22"
echo " with revision 24. The patchset is sent on... | Shell |
#!/bin/sh
#Ejecutar el tp
java -jar ./bin/tp2.jar | Shell |
#!/bin/sh
#Ejecutar el tp
java -jar ./bin/tp2.jar | Shell |
#!/bin/bash
#
set -ue
backend=""
# match dev_appserver oauth2 default user_id
userID="0"
while [ $# -ge 1 ]
do
arg="$1"
shift
if [ "$arg" == "-b" ]
then
backend=1
else
userID="$arg"
fi
done
if [ "$backend" ]
then
# matcher backend
set -x
curl --data-binary "{}" -H "Content-Type: applicatio... | Shell |
#!/bin/bash
#
set -uex
dev_appserver.py \
--host 0.0.0.0 \
--skip_sdk_update_check yes \
. $*
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/list-games'
| Shell |
#!/bin/bash
#
set -ue
# make sure stuff is installed
[ ! -d 'node_modules' ] && npm install socket.io express
set -x
# run the game
node games-server/main.js $*
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/debug'
| Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/ping"
| Shell |
#!/bin/bash
#
set -uex
curl 'http://localhost:8081/start-game'
| Shell |
#!/bin/bash
#
set -ue
pairing_key=$( cat shared/pairing-key.json | sed -e 's/{"key": "//' -e 's/".*//' )
set -x
data='{ "userID": 823478923748932, "displayName": "fredsa", "game_name": "syXv", "player_game_key": "283473289478329" }'
curl --data-binary "$data" -H "Content-Type: application/json" "http://localhost:1234... | Shell |
#!/bin/bash
#
set -ue
set -x
curl -H "Content-Type: application/json" "http://localhost:12345/log"
| Shell |
#!/bin/bash
rm fallas2.pdf
latex fallas2.tex
dvips -Pcmz fallas2.dvi -o fallas2.ps
ps2pdf fallas2.ps
rm fallas2.ps
rm fallas2.dvi
rm fallas2.aux
| Shell |
#!/bin/bash
rm fallas2.pdf
latex fallas2.tex
dvips -Pcmz fallas2.dvi -o fallas2.ps
ps2pdf fallas2.ps
rm fallas2.ps
rm fallas2.dvi
rm fallas2.aux
| Shell |
#!/bin/bash
rm fallas2.pdf
latex fallas2.tex
dvips -Pcmz fallas2.dvi -o fallas2.ps
ps2pdf fallas2.ps
rm fallas2.ps
rm fallas2.dvi
rm fallas2.aux
| Shell |
#!/bin/bash
rm fallas2.pdf
latex fallas2.tex
dvips -Pcmz fallas2.dvi -o fallas2.ps
ps2pdf fallas2.ps
rm fallas2.ps
rm fallas2.dvi
rm fallas2.aux
| Shell |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# author: psimakov@google.com (Pavel Simakov)
#
# This script starts local developer Google AppEngine server and initializes it
# with the default data set.
#
# Run this script from the coursebuilder/ folder:
# sh ./scripts/start.sh
#
usage () { echo "Options: -... | Shell |
#!/bin/bash
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Wrapper script for tools/etl/etl.py that sets up the environment correctly.
#
# Run this script as follows:
# sh ./scripts/etl.sh <arguments>
#
# ETL's arguments are involved; pass --help for details. You will need to
# provide credentials when usin... | Shell |
#! /bin/sh
# Copyright 2012 Google Inc. All Rights Reserved.
#
# author: psimakov@google.com (Pavel Simakov)
#
# This script starts local developer Google AppEngine server for integration
# tests and initializes it with a default data set.
#
# Run this script from the coursebuilder/ folder:
# sh ./scripts/start_i... | Shell |
#!/bin/bash
# Copyright 2012 Google Inc. All Rights Reserved.
#
# author: sll@google.com (Sean Lip)
# Run this script from the Course Builder folder as follows:
# sh ./scripts/test.sh --test_class <dotted test name>
# E.g.,
# Run all tests in a module:
# sh ./scripts/test.sh tests.unit.common_safe_dom
#
# ... | Shell |
#!/bin/bash
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Usage:
#
# Run this script from the Course Builder folder. It can be run with the
# following arguments:
#
# Deploy Course Builder to the App Engine app named in app.yaml:
# sh ./scripts/deploy.sh
#
# Deploy Course Builder to the given App Engine ap... | Shell |
# Copyright 2013 Google Inc. All Rights Reserved.
#
#
# This script sets up all build/test dependencies including Google App Engine,
# WebTest, Selenium, Chromedriver, etc. All other scripts will include this
# script to setup these dependencies.
#
# Force shell to fail on any errors.
set -e
shopt -s nullglob
# Se... | Shell |
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Set common config variables for developer runtime environment scripts.
# NOTE: This file is also evaluated by Python scripts to get configurations
# from environment variables. Do not add any non-idempotent side-effects
# to this script.
export SOURCE_DIR="$( cd "... | Shell |
#!/bin/bash
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Wrapper script for modules.py that sets up paths correctly. Usage from your
# coursebuilder/ folder:
#
# sh scripts/modules.sh [args]
set -e
. "$(dirname "$0")/common.sh"
python "$COURSEBUILDER_HOME/scripts/modules.py" "$@"
| Shell |
#! /bin/bash
# Binary of the Texturepacker:
TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker
# Shared Spritesheet-Output-Definitions:
SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/"
SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets"
SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.