From 2ff294a9ecf7f94deb7bb0b0799ce4db785f8300 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Wed, 2 Jan 2008 10:03:51 -0800 Subject: [PATCH] update webpage text and make the script itself downloadable --- Rakefile | 8 ++++---- www/index.html | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Rakefile b/Rakefile index ba54143..41affd1 100644 --- a/Rakefile +++ b/Rakefile @@ -1,16 +1,16 @@ SCREENSHOTS = FileList["www/ss?.png"] -WWW_FILES = FileList["www/*"] - SCREENSHOTS -SCREENSHOTS_SMALL = [] -SCREENSHOTS.each do |fn| +SCREENSHOTS_SMALL = SCREENSHOTS.map do |fn| fn =~ /ss(\d+)\.png/ sfn = "www/ss#{$1}-small.png" file sfn => [fn] do |t| sh "cat #{fn} | pngtopnm | pnmscale -xysize 320 240 | pnmtopng > #{sfn}" end - SCREENSHOTS_SMALL << sfn + sfn end +WWW_FILES = FileList["www/*"] - SCREENSHOTS - SCREENSHOTS_SMALL + ["bin/git-wt-commit"] + task :upload_webpage => WWW_FILES do |t| sh "scp -C #{t.prerequisites * ' '} wmorgan@rubyforge.org:/var/www/gforge-projects/git-wt-commit/" end diff --git a/www/index.html b/www/index.html index 7ed774f..bcd8e20 100644 --- a/www/index.html +++ b/www/index.html @@ -18,9 +18,10 @@

Git-walkthrough-commit is based on git-hunk-commit --darcs, which was very close to what I wanted, but wasn't quite - it.

+ it. In general git-walkthrough-commit makes no attempt to conform to the + real darcs interface, but it's probably pretty close.

-

Git-walkthrough-commit is written in less than 200 lines of Ruby.

+

Git-walkthrough-commit is written in around 200 lines of Ruby.

Screenshots

@@ -30,13 +31,13 @@

Getting it

-

- For now, there's only one way to obtain git-walkthrough-commit, - which is by cloning the git repository. Simple command your - computer to git clone - git://repo.or.cz/git-walkthrough-commit.git. You can also - browse the git - repository.

+

You can download the script here.

+ +

Development

+

git clone + git://repo.or.cz/git-walkthrough-commit.git. You can also browse the + repository.

Credit

-- 2.11.4.GIT