Skip to content

Commit

Permalink
Create index.html.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkraljevic committed Aug 30, 2013
1 parent e83c049 commit 392bd2c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ package:
cp -p target/h2o.jar target/h2o-$(PROJECT_VERSION)
cp -p target/h2o-sources.jar target/h2o-$(PROJECT_VERSION)
cp -p packaging/README.txt target/h2o-$(PROJECT_VERSION)
sed "s/SUBST_PROJECT_VERSION/$(PROJECT_VERSION)/g" packaging/index.html > target/index.html
cp -p LICENSE.txt target/h2o-$(PROJECT_VERSION)
(cd target; zip -r h2o-$(PROJECT_VERSION).zip h2o-$(PROJECT_VERSION))
rm -fr target/h2o-$(PROJECT_VERSION)
Expand Down
41 changes: 41 additions & 0 deletions packaging/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html>
<head>
</head>

<body>
<title>
Download H2O SUBST_PROJECT_VERSION
</title>
<h1 align="center">
H2O version SUBST_PROJECT_VERSION
</h1>
<table border="5" cellpadding="5" align="center">
<tr>
<th>Platform</th>
<th>Content</th>
<th>Description</th>
<th>Download</th>
</tr>
<tr>
<td align="center">Windows (64-bit only)</td>
<td align="center">Installer package</td>
<td>For the most user-friendly experience on Windows.</td>
<td align="center"><a href="h2o-SUBST_PROJECT_VERSION-windows-installer.exe">h2o-SUBST_PROJECT_VERSION-windows-installer.exe</a></td>
</tr>
<tr>
<td align="center">MacOSX</td>
<td align="center">Installer package</td>
<td>For the most user-friendly experience on a Mac.</td>
<td align="center"><a href="h2o-SUBST_PROJECT_VERSION-osx-installer.dmg">h2o-SUBST_PROJECT_VERSION-osx-installer.dmg</a></td>
</tr>
<tr>
<td align="center">Any</td>
<td align="center">Zip file</td>
<td>For Linux users, Hadoop users, or other command-line users on any platform.</td>
<td align="center"><a href="h2o-SUBST_PROJECT_VERSION.zip">h2o-SUBST_PROJECT_VERSION.zip</a></td>
</tr>
</table>
</body>

<html>

0 comments on commit 392bd2c

Please sign in to comment.