mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
Scripts for environment setup and frequently used builds
This commit is contained in:
parent
668d3ed0ea
commit
540adc5bc4
3 changed files with 35 additions and 0 deletions
9
init_env.sh
Executable file
9
init_env.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Run before building to initialize Ruby stuff
|
||||||
|
# See docs/setting-up-your-environment.md for more info
|
||||||
|
|
||||||
|
source ~/.rvm/scripts/rvm
|
||||||
|
|
||||||
|
# Set default Ruby
|
||||||
|
rvm alias create default ruby-2.0.0
|
||||||
|
rvm use default
|
15
scripts/build_preview.sh
Executable file
15
scripts/build_preview.sh
Executable 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
|
11
scripts/build_publish_preview.sh
Normal file
11
scripts/build_publish_preview.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue