code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh exec java -jar `rospack find rosjava`/dist/rosjava.jar org.ros.PassthroughTestNode $@
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # 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 to ...
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # 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 to ...
Shell
#!/bin/bash # Copyright 2012 Roman Nurik # # 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 find . -iname \.DS_Store -exec rm {} \; rm -rf extension.zip cd extension/ zip -qr ../extension.zip . cd .. zipinfo -l extension.zip
Shell
#!/bin/bash # # Starts a basic web server on the port specified. # # ./serve.sh 3000 -> http://localhost:3000 # # Copyright 2012 Eric Bidelman <ebidel@gmail.com> port=$1 if [ $# -ne 1 ] then port=8000 fi if [ $(uname -s) == "Darwin" ] then open=open else open=xdg-open fi $open http://localhost:$port/templat...
Shell
#!/bin/sh # jvmtop - java monitoring for the command-line # launch script # # author: Markus Kolb # DIR="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)" if [ -z "$JAVA_HOME" ] ; then JAVA_HOME=`readlink -f \`which java 2>/dev/null\` 2>/dev/null | \ sed 's/\/bin\/java//'` fi TOOLSJAR="$JAVA_HOME/lib...
Shell
rm -rf build rm -rf tmp
Shell
python build.py dev_appserver.py --port 9999 build
Shell
appcfg.py update build
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 ...
Shell
#!/bin/bash # Copyright 2012 Roman Nurik # # 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 # Copyright 2012 Roman Nurik # # 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 to ...
Shell
#!/bin/sh # Copyright 2012 Roman Nurik # # 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 to ...
Shell
#!/bin/bash # the app will be accessible at http://$BIND_IP:$BIND_PORT BIND_IP="0.0.0.0" # TCP/IP port on which the app will be accessible BIND_PORT="8080" # Directory where the whole thing resides. # $DIR will point to the application root. DIR=`dirname $0` # create tmp dir if didn't exist mkdir -p $DIR/tmp/blobs...
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 ...
Shell
#!/bin/bash # # Copyright 2010 Google Inc. All Rights Reserved. # Author: jcgregorio@google.com (Joe Gregorio) # # Creates the documentation set for the library by # running pydoc on all the files in apiclient. # # Notes: You may have to update the location of the # App Engine library for your local system. set...
Shell
echo "The following files are missing or are not checked in:" hg st echo "Enter to continue" read -e YES echo "The following files are missing from the MANIFEST file:" cat MANIFEST | sort > sorted-manifest.txt hg st --clean| sed "s/^C //" | grep -v "^v3" > sorted-allfiles.txt diff sorted-allfiles.txt sorted-manifest.tx...
Shell
#!/bin/bash - #=============================================================================== # # FILE: get_scripts.sh # # USAGE: ./get_scripts.sh # # DESCRIPTION: Script to get the required vim script from the http # server vim.org # # OPTIONS: --- # REQUIREMENTS: ...
Shell
#!/bin/bash - #=============================================================================== # # FILE: mkchroot.sh # # USAGE: ./mkchroot.sh # # DESCRIPTION: Make a chroot environ and cd to it # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # ...
Shell
#!/bin/bash - #=============================================================================== # # FILE: plymouth-theme.sh # # USAGE: ./plymouth-theme.sh # # DESCRIPTION: Change plymouth theme and update initrd # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTE...
Shell
#!/bin/bash sourced=0 if [ "$0" = "-bash" ]; then sourced=1 fi if [ -z $HADOOP_VERSION ]; then export HADOOP_VERSION=0.20.1 fi if [ -z $HADOOP_HOME ]; then export HADOOP_HOME=/Users/jduprey/Dropbox/Java/Hadoop/hadoop-${HADOOP_VERSION} fi if [ -z $HD_LOCAL_CONF ]; then export HD_LOCAL_CONF=~/.hdconf fi if [ -z $...
Shell
echo "Setup Passphraseless Access for Hadoop"
Shell
#!/bin/bash cmd="hadoop job ${hdopts} ${@}" echo $cmd $cmd ret=$$ exit $ret
Shell
mkdir $1 cd $1 echo == $1 Report == hdjob.sh -status $1 echo === Setup Attempts === hdjob.sh -list-attempt-ids $1 setup completed echo ======================= echo === Map Attempts === hdjob.sh -list-attempt-ids $1 map completed echo ======================= echo === Reduce Attempts === hdjob.sh -list-attempt-ids $1 red...
Shell
#!/bin/bash cmd="hadoop fs ${hdopts} ${@}" echo $cmd $cmd ret=$$ exit $ret
Shell
#!/bin/bash # From bash man pages: "RANDOM Each time this parameter is referenced, # a random integer between 0 and 32767 is generated. The sequence of # random numbers may be initialized by assigning a value to RANDOM. # If RANDOM is unset, it loses its special properties, even if it is # subsequently re...
Shell
#!/bin/bash jar=$1 class=$2 shift 2 #NOTE: There seems to be a bug in hadoop 0.20.1 where -Dfs.default.name=hdfs://host:port # variable override does not work, so instead, I write to a config file conffile=/tmp/hdenv-$hdname-$RANDOM.conf echo Creating temporary config $conffile cat > $conffile <<DELIM <?xml version="1....
Shell
echo "Add a cluster to the list of known clusters in $HD_LOCAL_CONF/clustsers.csv"
Shell
#! /bin/bash patch -Np1 -i $LFS/sources/gcc-4.4.3-startfiles_fix-1.patch cp -v gcc/Makefile.in{,.orig} sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in cp -v gcc/Makefile.in{,.tmp} sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ > gcc/Makefile.in for file in \ $(find gcc/c...
Shell
#! /bin/bash case `uname -m` in i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; esac
Shell
#! /bin/bash SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs $LFS_TGT-gcc -dumpspecs | sed \ -e 's@/lib\(64\)\?/ld@/tools&@g' \ -e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS echo "New specs file is: $SPECS" unset SPECS
Shell
#! /bin/bash SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs $LFS_TGT-gcc -dumpspecs | sed \ -e 's@/lib\(64\)\?/ld@/tools&@g' \ -e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS echo "New specs file is: $SPECS" unset SPECS
Shell
#! /bin/bash case `uname -m` in i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; esac
Shell
#! /bin/bash case $(uname -m) in x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;; esac
Shell
#! /bin/bash patch -Np1 -i $LFS/sources/gcc-4.4.3-startfiles_fix-1.patch cp -v gcc/Makefile.in{,.orig} sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in cp -v gcc/Makefile.in{,.tmp} sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ > gcc/Makefile.in for file in \ $(find gcc/c...
Shell
#! /bin/bash case $(uname -m) in x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;; esac
Shell
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
Shell
#!/bin/sh for DISPLAY in KS0108A KS0108B ST7920 do make clean make DISPLAY=${DISPLAY} done make clean
Shell
#!/bin/bash bold=$(tput bold 2>/dev/null) red=$(tput setaf 1 2>/dev/null) cyan=$(tput setaf 6 2>/dev/null) normal=$(tput sgr0 2>/dev/null) text=$(avr-size $1 | grep $1 | xargs | cut -d ' ' -f1) data=$(avr-size $1 | grep $1 | xargs | cut -d ' ' -f2) bss=$(avr-size $1 | grep $1 | xargs | cut -d ' ' -f3) echo echo "AVR...
Shell
#!/bin/sh OUTPUT=$1 STATIC_LIB_NAME=$OUTPUT MOVE_LOCATION=$2 BASEDIR=$3 LINKFILES=$4 LINKER_FLAGS= -shared -Wl,--version-script,/afs/cs.cmu.edu/misc/matlab/amd64_f7/7.9/lib/matlab7/extern/lib/glnxa64/mexFunction.map -Wl,--no-undefined echo $OUTPUT echo $STATIC_LIB_NAME echo 'Running godawful mex linking hack...' ...
Shell
#!/bin/bash if [ ! -d release ]; then echo "Run from the graphlab root folder after ./configure" else cd release make external_dependencies cd .. rm -f deps/local/lib/libboost*.so deps/local/lib/libhdfs*.so deps/local/lib/libtcmalloc*.so deps/local/lib/libevent*.so rm -f deps/local/lib/libboost*.dylib deps/...
Shell
#!/bin/bash src_path=$(hostname):$1 dest_path=$2 echo "Copying $src_path to $dest_path" mpiexec.openmpi -hostfile ~/machines -nolocal -pernode scp -r $src_path $dest_path
Shell
#!/bin/bash if [ ! -e ~/machines ]; then echo "A list of machines must be provided in ~/machines" echo "Exiting..." exit 1 fi namenode=$(hostname) echo "Install Torque" mpiexec.openmpi -hostfile ~/machines -pernode \ sudo apt-get --yes install torque-server torque-scheduler \ torque-client torque-common torq...
Shell
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); yo...
Shell
#!/bin/bash # This script will run the program in the same location and with the same # name as this script (without the .sh). Passing it the same set of command # line options. # It also parses the following environment variables # JAVA_HOME # Either JAVA_HOME or JVM_SO_PATH must be set. # This must point to th...
Shell
#!/bin/bash # This script will run the program in the same location and with the same # name as this script (without the .sh). Passing it the same set of command # line options. # It also parses the following environment variables # JAVA_HOME # Either JAVA_HOME or JVM_SO_PATH must be set. # This must point to th...
Shell
#!/bin/sh #script for auto test graphlab distribution, written by danny bickson if [ $# -ne 1 ]; then echo "Usage: $0 <release number>" fi rm -fR /tmp/graphlabapi* cp dist/graphlabapi_v1_$1.tar.gz /tmp/ cd /tmp/ tar xvzf graphlabapi_v1_$1.tar.gz cd /tmp/graphlabapi ./configure --bootstrap --yes cd release make -j8...
Shell
#!/bin/bash hg clone https://code.google.com/p/graphlabapi/ cd graphlabapi ./configure | tee install_configure_log.txt cd release make -j2 | tee ../v2_debug_log.txt
Shell
#!/bin/bash for f in `find src \( -name "*.cpp" -or -name "*.hpp" \)`; do lastline=`tail -n 1 $f` len=$((${#lastline})) if [ $len -ne 0 ]; then echo $f echo -e "" >> $f fi done
Shell
#!/bin/bash if [ ! -z "$PMI_RANK" ]; then RANK=$PMI_RANK elif [ ! -z "$OMPI_COMM_WORLD_RANK" ]; then RANK=$OMPI_COMM_WORLD_RANK else echo "Unable to figure out MPI Rank!" exit 1 fi #echo $RANK $* 2>&1 | tee out.$RANK
Shell
#!/bin/bash major_version=2.1 echo "THIS MUST BE RUN IN GRAPHLAB HOME" ## JOEY: WHY ARE WE REMOVING THE FOLDER AND THEN USING RSYNC? rm -fR dist/graphlabapi mkdir -p dist/graphlabapi rsync -vv -al --delete --delete-excluded \ --exclude=/debug --exclude=/release --exclude=/profile --exclude=/apps \ --exclude=...
Shell
if [ ! -d src ]; then echo "Run from the graphlab root folder" exit fi ./configure -D MARCH=x86-64 -D MTUNE=generic --no_jvm scripts/compile_static_release.sh # is this a openmpi or a mpich2 build? ISOPENMPI=0 if grep -q mpi_cxx config.log then rootdirname="graphlab_openmpi_no_jvm" unstrippeddirname="graphlab_...
Shell
if [ ! -d src ]; then echo "Run from the graphlab root folder" exit fi ./configure -D MARCH=x86-64 -D MTUNE=generic scripts/compile_static_release.sh # is this a openmpi or a mpich2 build? ISOPENMPI=0 if grep -q mpi_cxx config.log then rootdirname="graphlab_openmpi" unstrippeddirname="graphlab_openmpi_unstripp...
Shell
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if ! grep -q Apache $1 then echo $1 cat $DIR/../license/LICENSE_prepend.txt $1 > /tmp/out mv /tmp/out $1 fi
Shell
doxygen doxygen Doxyfile_internal
Shell
#!/bin/bash src_path=$(hostname):$PWD dest_path=$PWD mpiexec.openmpi -hostfile ~/machines -nolocal -pernode mkdir -p $dest_path mpiexec.openmpi -hostfile ~/machines -nolocal -pernode rsync -avz --exclude '*.make' --exclude '*.cmake' $src_path/ $dest_path
Shell
if [ ! -d src ]; then echo "Run from the graphlab root folder" exit fi ./configure --no_jvm -D NO_MPI:BOOL=true -D COMPILER_FLAGS="-mmacosx-version-min=10.5" -D MARCH=x86-64 -D MTUNE=generic scripts/compile_static_release.sh echo "Packaging binary release..." # now package a binary release # for whatever reason...
Shell
#!/bin/bash function quit_if_bad_retvalue { if [ $? -eq 0 ]; then echo "PASS" else echo "FAIL. Program returned with failure" exit 1 fi } function test_rpc_prog { echo "Testing $1 ..." echo "---------$1-------------" >> $stdoutfname echo "---------$1-------------" >> $stderrfname mpiexec -n...
Shell
#!/bin/sh adb shell cat /data/data/com.google.android.apps.iosched/shared_prefs/com.google.android.apps.iosched_preferences.xml | xmllint --format -
Shell
#!/bin/sh # # Copyright 2013 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 ...
Shell
#!/bin/sh adb shell pm clear com.google.android.apps.iosched
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi MAC_UNAME="Darwin" if [[ "`uname`" == ${MAC_UNAME} ]]; then DATE_FORMAT="%Y-%m-%dT%H:%M:%S" else DATE_FORMAT="%Y-%m-%d %H:%M:%S" fi if [ -z "$1" ]; then NOW_DATE=$(date "+${DATE_FORMAT}") echo Please provide a mock time in the format \"${NOW_DATE}\" or \"d\" to del...
Shell
#!/bin/sh # Remember VERBOSE only works on debug builds of the app adb shell setprop log.tag.iosched_SyncHelper VERBOSE adb shell setprop log.tag.iosched_SessionsHandler VERBOSE adb shell setprop log.tag.iosched_BitmapCache VERBOSE
Shell
#!/bin/sh if [[ -z $ADB ]]; then ADB=adb; fi $ADB shell "echo '$*' | sqlite3 -header -column /data/data/com.google.android.apps.iosched/databases/schedule.db"
Shell
#!/bin/sh # Sessions list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/sessions # Vendors list #adb shell am start -a android.intent.action.VIEW -d content://com.google.android.apps.iosched/tracks/android/vendors # Session detail #adb shell am start -a...
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
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 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/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
export BMP2PNG=../../amjulib/Build/bmp2png/Mac/bmp2png for f in *.bmp do echo "Converting this bmp file: " $f $BMP2PNG $f done
Shell
perl -pi -e 's/.bmp/.png/g' *.amju2 perl -pi -e 's/.bmp/.png/g' *.bill perl -pi -e 's/.bmp/.png/g' *.attr perl -pi -e 's/.bmp/.png/g' *.cfg
Shell
# Convert gl calls to AmjuGL perl -pi -e 's/glEnable/AmjuGL::Enable/g' *.cpp perl -pi -e 's/glDisable/AmjuGL::Disable/g' *.cpp perl -pi -e 's/glPushAttrib/AmjuGL::PushAttrib/g' *.cpp perl -pi -e 's/glPopAttrib/AmjuGL::PopAttrib/g' *.cpp perl -pi -e 's/glPushMatrix/AmjuGL::PushMatrix/g' *.cpp perl -pi -e 's/glPopMatri...
Shell
# Copy files from old project cp ../../amju-pool-old/amju-src/Code/Amju/*.{h,cpp} . cp ../../amju-pool-old/amju-src/Code/Bass/*.{h,cpp} . cp ../../amju-pool-old/amju-src/Code/Config/*.{h,cpp} . cp ../../amju-pool-old/amju-src/Code/Config/MakeConfig.pl . cp ../../amju-pool-old/amju-src/Code/Core/*.{h,cpp} . cp ../../am...
Shell
perl -pi -e 's/SharedPtr/RCPtr/g' *.cpp perl -pi -e 's/SharedPtr/RCPtr/g' *.h perl -pi -e 's/Shareable/RefCounted/g' *.h
Shell
#perl -pi -e 's/Gui/PoolGui/g' *.cpp #perl -pi -e 's/Gui/PoolGui/g' *.h perl -pi -e 's/"PoolGui/"Gui/g' *.cpp perl -pi -e 's/"PoolGui/"Gui/g' *.h
Shell
echo "Copying to SD card...." # NB Need double quotes around name, then double quotes *again* when we use $SD_DIR!! # http://hintsforums.macworld.com/archive/index.php/t-45007.html export SD_DIR="/Volumes/Aa/apps" export APP_NAME='amju_scp' export FULL="$SD_DIR"/$APP_NAME echo "$FULL" mkdir -p "$FULL" cp ../../Bui...
Shell
# Make binary versions of all .obj files export RESTORE_DIR=`pwd` export TOP_DIR=$RESTORE_DIR/../.. export DEST_DIR=$TOP_DIR/Build/CompiledAssets/wii export OBJ2BIN=$RESTORE_DIR/obj2bin export SRC_DIR=$TOP_DIR/Assets mkdir -p $DEST_DIR cd $SRC_DIR for f in *.obj do echo "Found this file: " $f $OBJ2BIN $f $...
Shell
# Create glue file export PLATFORM=iphone export THIS_DIR=`pwd` export TOP_DIR=$THIS_DIR/../.. export COMPILED_ASSETS=$TOP_DIR/Build/CompiledAssets export DEST_DIR=$COMPILED_ASSETS/$PLATFORM export SRC_DIR=$TOP_DIR/Assets export GLUE_EXE=$THIS_DIR/glue export GLUE_FILE=$DEST_DIR/../data-$PLATFORM.glue rm -rf $DEST_DI...
Shell
# Create music.glue file export PLATFORM=iphone export THIS_DIR=`pwd` export TOP_DIR=$THIS_DIR/../.. export COMPILED_ASSETS=$TOP_DIR/Build/CompiledAssets export DEST_DIR=$COMPILED_ASSETS/$PLATFORM export SRC_DIR=$TOP_DIR/Assets export GLUE_EXE=$THIS_DIR/glue export GLUE_FILE=$DEST_DIR/../music-$PLATFORM.glue rm -rf $...
Shell
# Create glue file export PLATFORM=wii export THIS_DIR=`pwd` export TOP_DIR=$THIS_DIR/../.. export COMPILED_ASSETS=$TOP_DIR/Build/CompiledAssets export DEST_DIR=$COMPILED_ASSETS/$PLATFORM export SRC_DIR=$TOP_DIR/Assets export GLUE_EXE=$THIS_DIR/glue export GLUE_FILE=$DEST_DIR/../data-$PLATFORM.glue rm -rf $DEST_DIR m...
Shell
# Make binary versions of all .obj files export RESTORE_DIR=`pwd` export TOP_DIR=$RESTORE_DIR/../.. export DEST_DIR=$TOP_DIR/Build/CompiledAssets/iphone export OBJ2BIN=$RESTORE_DIR/obj2bin export SRC_DIR=$TOP_DIR/Assets mkdir -p $DEST_DIR cd $SRC_DIR for f in *.obj do echo "Found this file: " $f $OBJ2BIN $...
Shell
# Create glue file export PLATFORM=Mac export THIS_DIR=`pwd` export TOP_DIR=$THIS_DIR/../.. export COMPILED_ASSETS=$TOP_DIR/Build/CompiledAssets export DEST_DIR=$COMPILED_ASSETS/$PLATFORM export SRC_DIR=$TOP_DIR/Assets export GLUE_EXE=$THIS_DIR/glue export GLUE_FILE=$DEST_DIR/../data-$PLATFORM.glue rm -rf $DEST_DIR m...
Shell
# Create music.glue file export PLATFORM=Mac export THIS_DIR=`pwd` export TOP_DIR=$THIS_DIR/../.. export COMPILED_ASSETS=$TOP_DIR/Build/CompiledAssets export DEST_DIR=$COMPILED_ASSETS/$PLATFORM export SRC_DIR=$TOP_DIR/Assets export GLUE_EXE=$THIS_DIR/glue export GLUE_FILE=$DEST_DIR/../music-$PLATFORM.glue rm -rf $DES...
Shell
# Make binary versions of all .obj files export RESTORE_DIR=`pwd` export TOP_DIR=$RESTORE_DIR/../.. export DEST_DIR=$TOP_DIR/Build/CompiledAssets/Mac export OBJ2BIN=$RESTORE_DIR/obj2bin export SRC_DIR=$TOP_DIR/Assets mkdir -p $DEST_DIR cd $SRC_DIR for f in *.obj do echo "Found this file: " $f $OBJ2BIN $f $...
Shell
# Create music.glue file export PLATFORM=wii export THIS_DIR=`pwd` export TOP_DIR=$THIS_DIR/../.. export COMPILED_ASSETS=$TOP_DIR/Build/CompiledAssets export DEST_DIR=$COMPILED_ASSETS/$PLATFORM export SRC_DIR=$TOP_DIR/Assets export GLUE_EXE=$THIS_DIR/glue export GLUE_FILE=$DEST_DIR/../music-$PLATFORM.glue rm -rf $DES...
Shell
# MAKE RELEASE SCRIPT FOR AMJU SUPER COOL POOL FOR MAC export VERSION=0.1 # Make amjulib export AMJU_BUILD_ARCH=Mac-i386 export AMJU_MACHDEP='-arch i386 -DMACOSX -DXP_MACOSX -D__i386__' pushd ../../../amjulib/Script/MacOSX make popd # Make ASCP make export AMJU_BUILD_ARCH=Mac-ppc export AMJU_MACHDEP='-arch ppc -DMA...
Shell
#!/bin/sh export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate if [ "${PLATFORM_NAME}" == "iphoneos" ]; then /Developer/iphoneentitlements401/gen_entitlements.py "com.amju.${PROJECT_NAME}" "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent"; codesign -vv -f -s "i...
Shell
#!/bin/sh export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate if [ "${PLATFORM_NAME}" == "iphoneos" ]; then /Developer/iphoneentitlements401/gen_entitlements.py "com.amju.${PROJECT_NAME}" "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent"; codesign -vv -f -s "i...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources/downloadF...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads SSLVERSION=0.9.8h-1 PREFIX=`pwd`/../system/i386-mingw32msvc/openssl-$SSLVERSION INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib $scriptResources...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=`pwd`/../system/i386-mingw32msvc/hunspell-1.3.1 BUILD=/tmp/build_hunspell $scriptResources/downloadFilesIfNeeded.sh $downloadFolder http://download...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads/pthread PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ INCLUDE=$PREFIX/include BIN=$PREFIX/bin LIB=$PREFIX/lib mkdir -p $downloa...
Shell
#!/bin/sh ./install_FreeType.sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then AGG_VERSION=2.4 else AGG_VERSION=$1 fi PREFIX=`pwd`/../system/i386-mingw32msvc/agg-$AGG_VERSION BUILD=/tm...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads if [ ""$1"" = "" ];then targetPlatform="Windows" else targetPlatform=$1 fi if [ ""$2"" = "" ];then targetArchitecture="i386" else targetArchitectu...
Shell
#!/bin/sh installResources=`pwd`/Resources scriptResources=$installResources/scripts productFolder=/Developer/Cocotron/1.0 downloadFolder=$productFolder/Downloads PREFIX=/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1/i386-mingw32msvc/ $scriptResources/downloadFilesIfNeeded.sh $downloadFolder "http://cocotron.googlec...
Shell