mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
Fix .gitignore: stop tracking ignored files
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# cd to the root of the repo
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
# avoids re-compilation during publishing of both packages
|
||||
if [[ ! -v ALREADY_COMPILED ]]; then
|
||||
npm run clean
|
||||
npm run prepare
|
||||
npm run prepack
|
||||
fi
|
||||
|
||||
cp README.md contracts/
|
||||
mkdir contracts/build contracts/build/contracts
|
||||
cp -r build/contracts/*.json contracts/build/contracts
|
||||
Reference in New Issue
Block a user