forked from dart-lang/site-www
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new dev project to firebaserc * Drop all single page overrides of the og:image * site page head: fix description, og:type and og:image * Update gem versions to eliminate deprecation warnings Warnings like: > DEPRECATION WARNING: You are using the a deprecated processor interface Jekyll::Assets::Addons::Processors::Liquid. * create _config_dev.yml used by serv_local.sh --dev Fixes dart-lang#305
- Loading branch information
Showing
12 changed files
with
85 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Site settings for development mode | ||
url: https://dartlang-org-dev.firebaseapp.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ $1 == "frontpage" ]; then | ||
jekyll build --watch --config _config.yml,scripts/frontpage_only_config.yml & | ||
else | ||
jekyll build --watch & | ||
set -e -o pipefail | ||
|
||
# cd `dirname $0`/.. | ||
|
||
if [[ "$1" == "--dev" && -e _config_dev.yml ]]; then | ||
CONFIG="--config _config.yml,_config_dev.yml" | ||
fi | ||
|
||
if [[ "$1" == "frontpage" ]]; then | ||
CONFIG="--config _config.yml,scripts/frontpage_only_config.yml" | ||
fi | ||
|
||
jekyll build $CONFIG --incremental --watch & | ||
|
||
j_pid=$! | ||
firebase serve --port 4000 & | ||
f_pid=$! | ||
echo "catched PIDs: $j_pid, $f_pid" | ||
trap "{ kill $j_pid; kill $f_pid; exit 0;}" SIGINT | ||
wait | ||
wait |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters