From 33863464104bdbe9e94f232df54553d6be8fe2a9 Mon Sep 17 00:00:00 2001 From: Jess Bees Date: Tue, 1 Feb 2022 22:19:18 -0500 Subject: [PATCH] Add script to record expected output --- .ruby-version | 1 + bin/record_expected_output | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .ruby-version create mode 100755 bin/record_expected_output diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..a4dd9db --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.7.4 diff --git a/bin/record_expected_output b/bin/record_expected_output new file mode 100755 index 0000000..a0dc711 --- /dev/null +++ b/bin/record_expected_output @@ -0,0 +1,10 @@ +#! /usr/bin/env sh + +export JEKYLL_ENV=production +export PAGES_REPO_NWO=actions/jekyll-build-pages +export JEKYLL_BUILD_REVISION=JEKYLL_BUILD_REVISION + +for dir in $(ls test_projects) +do + bundle exec github-pages build --verbose -s test_projects/$dir -d test_projects/$dir/_expected +done