Sha256: d025d9d36fa79c12fdbf451bab5a91975d0cde15d47998215c785d1f15d07753

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

#!/bin/bash
set -e
set -x

TMP=$(mktemp -d -t mgd-XXXX)
yes | middleman new mgd-XXXX
mv mgd-XXXX/* "${TMP}"

CWD=$(pwd)
git init "${TMP}"
cd "${TMP}"
touch "source/test.html"
echo "hello" > "source/test.html"
git add .
git config user.email "test@example.com"
git config user.name "Test"
git commit -am 'initial commit'
cd "${CWD}"

./bash/deploy.sh "${TMP}" gh-pages

cd "${TMP}"
git checkout gh-pages
ls -al
cat test.html | grep "hello"
cd "${CWD}"
rm -rf "${TMP}"

echo "success"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mgd-0.1.0 test.sh