Skip to content

Commit

Permalink
v5
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Feb 24, 2019
1 parent 72aa94b commit 41f9b9d
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 315 deletions.
2 changes: 1 addition & 1 deletion _data/info.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 4
version: 5
167 changes: 0 additions & 167 deletions example.css

This file was deleted.

133 changes: 0 additions & 133 deletions example.html

This file was deleted.

2 changes: 1 addition & 1 deletion examples/columns.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>3 columns</h2>
<c span=2..>2..</c>
</grid>
</c>
<c span=2 class="only-large-screen">
<c span=2 class="only-large-window">
<h2>16 columns</h2>
<grid columns="16">
<c>1</c><c>2</c><c>3</c><c>4</c><c>5</c><c>6</c><c>7</c><c>8</c>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1>
Download &darr;
</a></c>
<c class="center flex-v">
<a href="examples/raster.html">Open example</a>
<a href="examples/">Examples</a>
</c>
</grid>
<br>
Expand Down Expand Up @@ -115,7 +115,7 @@ <h1>
The HTML here is what generates the grid you see at the top of this page.
</p>
<p>
<a href="example.html">More examples</a>
<a href="examples/">More examples</a>
</p>
</c>
<c span="7.." span-s="row">
Expand Down
16 changes: 9 additions & 7 deletions misc/dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ print YAML.load_file('_data/info.yml')['version']
SRC
)

echo "Running misc/build.sh"
./misc/build.sh
ZIP=Raster-v${VERSION}.zip

echo "Building version ${VERSION} -> _build/raster-${VERSION}.zip"
if [ -f _build/raster-${VERSION}.zip ]; then
echo "_build/raster-${VERSION}.zip already exists" >&2
echo "Building version ${VERSION} -> _build/$ZIP"
if [ -f "_build/$ZIP" ]; then
echo "_build/$ZIP already exists" >&2
exit 1
fi

echo "Running misc/build.sh"
./misc/build.sh

cp misc/_config.yml _config.yml
jekyll build > /dev/null

Expand All @@ -31,15 +33,15 @@ cp LICENSE.txt \
cp -R _site/examples $DST/examples

pushd $DST >/dev/null
zip -q -X -r "../Raster-v${VERSION}.zip" *
zip -q -X -r "../$ZIP" *
popd >/dev/null
rm -rf $DST

echo "————————————————————————————————————————————————————————"
echo ""
echo "Next steps:"
echo ""
echo "1) Create new release with _build/Raster-v${VERSION}.zip"
echo "1) Create new release with _build/$ZIP"
echo " https://github.com/rsms/raster/releases/new?tag=v${VERSION}"
echo ""
echo "2) Commit & push changes"
Expand Down
4 changes: 2 additions & 2 deletions raster.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raster.debug.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 41f9b9d

Please sign in to comment.