Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
368 B
Bash
Executable File
16 lines
368 B
Bash
Executable File
#!/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
|