mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
05b50fd7bf
Have the test output
17 lines
462 B
Bash
17 lines
462 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Runs script/grunt docs and moves the output to gh-pages branch
|
|
# This overwrites whatever is in gh-pages
|
|
mkdir docs/output
|
|
script/grunt docs
|
|
git checkout gh-pages --quiet
|
|
cp -rf docs/output/* docs # Place all of the html in its proper place
|
|
mv -f docs/sidebar.json _data # Move sidebar.json to appropriate folder
|
|
rm -f docs/api.json # Remove unecessary file
|
|
rm -rf docs/output
|
|
|
|
git add .
|
|
printf "Now commit the changes! \n\n"
|
|
git status
|