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 | |
# | |
# Get list of files from the most recent Git commit and run prettier to reformat using 2 spaces for tab width. | |
# | |
changed_files=$(git diff --name-only HEAD~1 HEAD) | |
for file in $changed_files | |
do | |
if [[ $file == *.ts ]]; then | |
# Change tab size to 2 spaces for TypeScript files |
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 | |
#Suggested file name: searchjars | |
if [[ $1 = "-h" || $1 = "--help" ]] | |
then | |
echo "Usage: $0 [STRING] [DIRECTORY]..." | |
echo "Search DIRECTORY(s) for Jar files. For each Jar, search the archived" | |
echo "files for STRING." | |
echo "" | |
echo "Default directory path is the current directory. Multiple directory " |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="plovr" basedir="." default="build"> | |
<property file="${basedir}/build.properties" /> | |
<property file="${basedir}/default.build.properties" /> | |
<property name="src.dir" value="${basedir}/src" /> | |
<property name="test.dir" value="${basedir}/test" /> | |
<property name="testdata.dir" value="${basedir}/testdata" /> | |
<property name="www.dir" value="${basedir}/www" /> |