Created
March 23, 2012 04:30
-
-
Save simkimsia/2166830 to your computer and use it in GitHub Desktop.
how to do a bash script for myapp app folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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