Skip to content

Commit

Permalink
feat: fix pretest script
Browse files Browse the repository at this point in the history
  • Loading branch information
rori4 committed Jan 3, 2024
1 parent 0411fe0 commit ee8232c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"test": "mocha"
},
"devDependencies": {
"mocha": "^10.2.0",
"solhint": "^4.0.0"
}
}
4 changes: 2 additions & 2 deletions pretest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ mkdir -p "$destination_directory"
# Function to copy files and directories recursively
copy_directory() {
local src="$1"
local dest="$2"
find "$src" -mindepth 1 -maxdepth 1 -exec cp -r {} "$dest" \;
local dest="$2";
rsync -a --exclude=".git" "$src/" "$dest"
}

# Copy the files and directories from the source to the destination
Expand Down

0 comments on commit ee8232c

Please sign in to comment.