-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: As a developer, I want to import the Verax contracts via NPM in…
… my project
- Loading branch information
Showing
5 changed files
with
57 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ node_modules | |
lcov.info | ||
coverage | ||
|
||
# Contarcts | ||
# Contracts | ||
cache_hardhat | ||
cache_forge | ||
artifacts | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Check if 'contracts' directory exists and remove it | ||
if [ -d "contracts" ]; then | ||
rm -rf contracts | ||
echo "contracts directory removed" | ||
else | ||
echo "contracts directory does not exist" | ||
fi | ||
|
||
# Check if 'build' directory exists and remove it | ||
if [ -d "build" ]; then | ||
rm -rf build | ||
echo "build directory removed" | ||
else | ||
echo "build directory does not exist" | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Create 'contracts' directory if it doesn't exist | ||
mkdir -p contracts | ||
|
||
# Copy the contents of 'src' into 'contracts' | ||
cp -R src/* contracts/ | ||
|
||
# Create 'build' directory if it doesn't exist | ||
mkdir -p build | ||
|
||
# copy all JSON files from 'out' (including subdirectories) into 'build' | ||
find out -name '*.json' -exec cp {} build \; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.