File: rdoctask

package info (click to toggle)
rake 10.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,060 kB
  • ctags: 1,196
  • sloc: ruby: 9,141; ansic: 19; sh: 15; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

testdir="${TMPDIR:-/tmp}/rdoctask"
mkdir -p "$testdir"
rakefile="$testdir/Rakefile"

cat > $rakefile  <<EOF
require 'rake/rdoctask'

task :default do
  puts "Hello, world"
end
EOF

cd "$testdir" && ruby1.8 -S rake -X