SAND-framework/command_usefull
2021-06-18 17:44:11 +02:00

24 lines
914 B
Plaintext

# BEHAT Behavior Driven Developpement Initialisation
#cd tests/behat
#./bin/behat --init
# PHPUNIT Testing
./tests/phpunit/bin/phpunit ./test/phpunit/tests/Tests.php
# GENERATION OF DOCUMENTATION BOOK
php ./data/book sand print
# OBFUSCATION DU CODE (not working at all)
#git clone https://github.com/pk-fr/yakpro-po.git
#cd yakpro-po
#git clone https://github.com/nikic/PHP-Parser.git
#chmod a+x yakpro-po.php
php ./yakpro-po/yakpro-po.php --no-shuffle-statements --no-obfuscate-namespace-name --no-obfuscate-class-name --no-obfuscate-method-name --no-obfuscate-property-name --no-obfuscate-constant-name --no-obfuscate-string-literal --no-strip-indentation './MyAwesomeProjectDirectory' -o './MyAwesomeObfuscatedProjectDirectory'
#GIT USEFULL COMMAND
##1
git filter-branch --index-filter 'git rm --cached --ignore-unmatch **/????????MY_DIRECTORY??????/** '
##2
git fetch --all
git reset --hard origin/master