Scripts for environment setup and frequently used builds

This commit is contained in:
thephez 2017-10-04 08:45:49 -04:00
parent 668d3ed0ea
commit 540adc5bc4
3 changed files with 35 additions and 0 deletions

15
scripts/build_preview.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
# Note: run init_env.sh first to prepare Ruby
# See docs/setting-up-your-environment.md for more info
export BITCOINORG_BUILD_TYPE=preview
# Update summaries.md
make manual-update-summaries-file
# Build preview with minimal plugins
ENABLED_PLUGINS="glossary" ENABLED_LANGS="" make preview
## Fast build and tests, takes less than 50 seconds
## Some tests may fail in fast mode; use -i to continue despite them
#ENABLED_PLUGINS="" ENABLED_LANGS="" make -i valid

View file

@ -0,0 +1,11 @@
#!/bin/bash
# Build static preview site that can be hosted on Github pages (https://pages.github.com/)
# Note: run init_env.sh first to prepare Ruby
export BITCOINORG_BUILD_TYPE=preview
# Update summaries.md
make manual-update-summaries-file
# Build preview with all plugins, but minimal language support
ENABLED_LANGS="" make preview