Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v0.1.6
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.505 kB
PROJECT_NAME='tipsy'
PROJECT_VERSION='0.1.6'
MANIFEST=%w(src LICENSE README)
def project_tag
"#{PROJECT_NAME}-#{PROJECT_VERSION}"
end
def target
File.join('pkg', project_tag)
end
task :clean do
`rm -rf pkg`
end
task :build => :clean do
`mkdir -p #{target}`
`cd docs && project-kit --target=archive build src build`
`mv docs/build #{target}/docs`
MANIFEST.each { |e| `cp -R #{e} #{target}/` }
end
task :package => :build do
`cd pkg && zip -ro ../#{project_tag}.zip #{project_tag}`
end
Jump to Line
Something went wrong with that request. Please try again.