Skip to content

Commit

Permalink
Fix Scala README in the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkraljevic committed Feb 17, 2014
1 parent c01d02c commit 737f488
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ docs-website: dw_announce dw_1 dw_2 dw_3 dw_4

docs-website-clean:
rm -rf h2o-docs/source/developuser/DocGen
rm -rf h2o-docs/source/developuser/ScalaGen
$(MAKE) -C h2o-docs clean
endif

Expand All @@ -206,6 +207,8 @@ dw_1:
mkdir -p h2o-docs/source/developuser/DocGen
cd h2o-docs/source/developuser/DocGen && java -Xmx1g -jar "$(TOPDIR)/target/h2o.jar" -runClass water.api.DocGen -port $(PORT) -name $(TMPDIR) -ice_root $(TMPDIR) 1> /dev/null
rm -rf $(TMPDIR)
mkdir -p h2o-docs/source/developuser/ScalaGen
cp -p h2o-scala/README.rst h2o-docs/source/developuser/ScalaGen/README.rst

# If this fails, you might need to do the following:
# $ (possibly sudo) easy_install pip
Expand All @@ -225,8 +228,6 @@ dw_3:
cp -p docs/H2O_on_Hadoop_0xdata.pdf $(BUILD_WEBSITE_DIR)/bits/hadoop
mkdir -p $(BUILD_WEBSITE_DIR)/bits/ec2
cp -p ec2/README.txt $(BUILD_WEBSITE_DIR)/bits/ec2
mkdir -p $(BUILD_WEBSITE_DIR)/bits/h2o-scala
cp -p h2o-scala/README.md $(BUILD_WEBSITE_DIR)/bits/h2o-scala/README.txt

# Note: to get pdfunite on a mac, try:
# $ brew install poppler
Expand Down
9 changes: 0 additions & 9 deletions h2o-docs/source/developuser/quickstart_scala.rst

This file was deleted.

2 changes: 1 addition & 1 deletion h2o-docs/source/developuser/top_developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ Getting Started with Development in H\ :sub:`2`\ O
quickstart_eclipse
quickstart_idea
quickstart_mac
quickstart_scala
ScalaGen/README
java
rest
2 changes: 1 addition & 1 deletion h2o-docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This section is for new users, and provides information about how to install and
Ruser/Rinstall
Ruser/R_studio
newuser/ec2
developuser/quickstart_scala.rst
developuser/ScalaGen/README

.. toctree::
:maxdepth: 2
Expand Down
6 changes: 3 additions & 3 deletions h2o-scala/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Shalala
=======
Scala for H\ :sub:`2`\ O: Shalala
===================================

Overview
--------
Expand Down Expand Up @@ -71,7 +71,7 @@ You can start REPL via `sbt`:


Key points of implementation
----------
----------------------------
* Using primitive types specialization (to allow for generation code using primitive types)
* All objects passed around cloud has to inherits from `water.Iced`

Expand Down

0 comments on commit 737f488

Please sign in to comment.