#!/bin/bash Version=1.0.2 Script=FakeJavaScriptBeautifyScript echo "TEST: Simulated beautify.sh v$Version: Pretending to do style adjustments on file $1" grep 'Making It Beautiful' $1 > /dev/null 2>&1 if [[ $? -ne 0 ]]; then echo Making It Beautiful >> $1 fi
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 30968 | C. Thomas Tyler |
Migration from Classic to Streams with: p4 copy -b P4BBI_Classic_to_Streams |
||
//guest/perforce_software/p4bbi/main/test/bin/beautify.sh | |||||
#1 | 18718 | C. Thomas Tyler | Updated to P4BBI/MultiArch/2016.3/18716 (2016/03/20). | ||
//guest/perforce_software/p4bbi/dev/test/bin/beautify.sh | |||||
#2 | 18650 | C. Thomas Tyler | Tweaked astyle and beautify simulators to actually modify content. | ||
#1 | 18644 | C. Thomas Tyler |
Added support for enhanced astyle dirs file format: Each line now has a prefix: C: Look for *.c, *.cpp, and *.h files in given dirs. JavaScript: Look for *.js files in given dirs. Java: Look for *.java files recursively in in given trees. include:<component_file> includes contents of another file. C/C++ and Java are formatted using astyle. JavaScript is formatted using beautify.sh. Added simulated beautify.sh script to support test suite update to test JavaScript beautification. |