mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/scripts/docsite.sh

15 lines
310 B

#!/usr/bin/env bash
# usage: npm run docsite [build|start]
set -o errexit
npm run docgen
if [ "$1" = start ]; then
npx concurrently -n docgen,docsite --no-color \
'nodemon -C -w contracts -e sol,md -x npm run docgen' \
'openzeppelin-docsite-run start'
else
npx openzeppelin-docsite-run "$1"
fi