Skip to content

Commit

Permalink
Update classpath.sh to include instrument package
Browse files Browse the repository at this point in the history
Co-authored-by: Yuqi Huai (@YuqiHuai)

Fixes broken tutorial instructions (#233)
  • Loading branch information
rohanpadhye authored Jun 5, 2023
1 parent e5721b1 commit c40d0e9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/classpath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@ popd > /dev/null
# The root dir is one up
ROOT_DIR=`dirname $SCRIPT_DIR`

# Create classpath
# Create classpath using all classes from and dependencies of the `fuzz` and `instrument` packages

cp="$ROOT_DIR/fuzz/target/classes:$ROOT_DIR/fuzz/target/test-classes"

for jar in $ROOT_DIR/fuzz/target/dependency/*.jar; do
cp="$cp:$jar"
done

cp="$cp:$ROOT_DIR/instrument/target/classes:$ROOT_DIR/instrument/target/test-classes"

for jar in $ROOT_DIR/instrument/target/dependency/*.jar; do
cp="$cp:$jar"
done

echo $cp

0 comments on commit c40d0e9

Please sign in to comment.