Download wp-calypso/apps/happy-blocks/bin/ci-build-steps.sh from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/happy-blocks/bin/ci-build-steps.sh
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/apps/happy-blocks/bin/ci-build-steps.sh
-
curl -L -o ci-build-steps.sh https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/apps/happy-blocks/bin/ci-build-steps.sh
530 Bytes
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| yarn build | |
| # Copy build directories to the release directory. | |
| find ./block-library/* -type d -name "*" -prune ! -name "shared" |\ | |
| while read -r block; | |
| do | |
| mkdir -p "./release-files/${block//\.\.\//}"; | |
| cp -r $block/build/* "./release-files/${block//\.\.\//}/"; | |
| done | |
| # Add the index.php file | |
| cp index.php README.md translations-manifest.json build_meta.json release-files/ | |
| printf "Finished configuration of the @automattic/happy-blocks plugin artifacts directory.\n" | |