Skip to content

Instantly share code, notes, and snippets.

@simkimsia
Created March 23, 2012 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simkimsia/2166830 to your computer and use it in GitHub Desktop.
Save simkimsia/2166830 to your computer and use it in GitHub Desktop.
how to do a bash script for myapp app folder
#!/bin/bash
cp myapp/Config/core.php myapp/Config/core.php.backup
echo "Configure::write('Acl.database', 'test');" >> myapp/Config/core.php
lib/Cake/Console/cake testsuite -app myapp app
mv myapp/Config/core.php.backup myapp/Config/core.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment