Skip to content

Commit

Permalink
move all files from workdir to destdir in test
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmccracken committed Dec 24, 2024
1 parent 5b92f00 commit 3a5b37d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ws_tool/test/installation_process.bats
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ setup (){

# below we use the stuff from this project checkout however to test it
# HACK get the tool to actually run code from current local checkout
export WORKSTATION_DIR="${PROJECT_ROOT}"
{ cd "$PROJECT_ROOT";
git ls-files | while read -r gitfile; do
cp -r "$gitfile" "$WORKSTATION_DIR/$gitfile"
done;
}
# export WORKSTATION_DIR="${PROJECT_ROOT}"

cat <<-EOF > "${WORKSTATION_CONFIG_DIR}/settings.sh"
export WORKSTATION_CONFIG_DIR="$WORKSTATION_CONFIG_DIR"
Expand Down

0 comments on commit 3a5b37d

Please sign in to comment.