[Assorted-commits] SF.net SVN: assorted: [538] scala-commons/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-29 08:11:10
|
Revision: 538 http://assorted.svn.sourceforge.net/assorted/?rev=538&view=rev Author: yangzhang Date: 2008-02-29 00:11:13 -0800 (Fri, 29 Feb 2008) Log Message: ----------- new publishing framework Modified Paths: -------------- scala-commons/trunk/src/Makefile Added Paths: ----------- scala-commons/trunk/publish.bash Removed Paths: ------------- scala-commons/trunk/src/publish.bash Added: scala-commons/trunk/publish.bash =================================================================== --- scala-commons/trunk/publish.bash (rev 0) +++ scala-commons/trunk/publish.bash 2008-02-29 08:11:13 UTC (rev 538) @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +. common.bash || exit 1 + +make -sC src/ doc jar + +project=scala-commons +clean=false +websrcs=( README ) +webfiles=( :src/doc :src/out/scala-commons.jar ) +. assorted.bash "$@" Property changes on: scala-commons/trunk/publish.bash ___________________________________________________________________ Name: svn:executable + * Modified: scala-commons/trunk/src/Makefile =================================================================== --- scala-commons/trunk/src/Makefile 2008-02-29 08:03:50 UTC (rev 537) +++ scala-commons/trunk/src/Makefile 2008-02-29 08:11:13 UTC (rev 538) @@ -1,6 +1,5 @@ DOCDIR := doc OUTDIR := out -WEBDIR := web JAR := $(OUTDIR)/scala-commons.jar SCALAC := fsc SRCS := $(wildcard commons/*.scala) @@ -15,23 +14,13 @@ $(SCALAC) -d $(OUTDIR) $^ jar cf $(JAR) -C $(OUTDIR) commons/ -web: $(WEBDIR)/index.html - -$(WEBDIR)/index.html: ../README - mkdir -p $(WEBDIR) - pandoc -s -S --tab-stop=2 -c ../main.css -H $(HTMLFRAG)/header.html -A $(HTMLFRAG)/google-footer.html -o $(WEBDIR)/index.html ../README - doc: $(DOCDIR)/index.html $(DOCDIR)/index.html: $(SRCS) mkdir -p $(DOCDIR) scaladoc -d $(DOCDIR) -linksource $^ -publish: doc jar web - cp -r $(JAR) $(DOCDIR) $(WEBDIR) - ./publish.bash $(WEBDIR) - clean: - rm -rf $(OUTDIR) $(DOCDIR) $(WEBDIR) + rm -rf $(OUTDIR) $(DOCDIR) .PHONY: clean doc publish jar web Deleted: scala-commons/trunk/src/publish.bash =================================================================== --- scala-commons/trunk/src/publish.bash 2008-02-29 08:03:50 UTC (rev 537) +++ scala-commons/trunk/src/publish.bash 2008-02-29 08:11:13 UTC (rev 538) @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -set -o errexit -o nounset - -WEBDIR=$1 -tar czf - -C $WEBDIR . | -ssh shell-sf ' - set -o errexit -o nounset - rm -rf assorted/htdocs/scala-commons/ - mkdir -p assorted/htdocs/scala-commons/ - cd assorted/htdocs/scala-commons/ - tar xzmf - -' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |