Login   Register  
PHP Classes
elePHPant
Icontem

File: square.sh

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Benjie Velarde  >  SquareSpec  >  square.sh  >  Download  
File: square.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: SquareSpec
Test PHP code using Behavior Driven Development
Author: By
Last change:
Date: 1 year ago
Size: 177 bytes
 

Contents

Class file image Download
#!/bin/bash
SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname $SCRIPT`
CMD="php $SCRIPTPATH/square.php"
ERRMSG="Usage: square (<spec-file>)"
if [[ $1 ]]
then
  $CMD $1
else
  $CMD
fi