public
Description: The opposite sexes has decided to go to war with each other for the ownership over the playground!
Homepage:
Clone URL: git://github.com/kiba/playground-wars.git
playground-wars / Rakefile
100644 24 lines (21 sloc) 0.707 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require "yaml"
require "lib/mapfiles.rb"
 
task :create do
  files = MapFiles.new()
  files.create("blank.map")
end
 
task :sync do
  sh "git pull git@github.com:kiba/playground-wars.git"
  sh "git push"
end
 
task :pack do
  FileUtils.mkdir('playgroundwars-0.0.1')
  FileUtils.cp_r('lib','playgroundwars-0.0.1/lib')
  FileUtils.cp_r('data','playgroundwars-0.0.1/data')
  FileUtils.cp('AUTHORS','playgroundwars-0.0.1/AUTHORS')
  FileUtils.cp('GPL','playgroundwars-0.0.1/GPL')
  FileUtils.cp('README','playgroundwars-0.0.1/README')
  FileUtils.cp('playgroundwars.rb','playgroundwars-0.0.1/playgroundwars.rb')
  sh 'tar -cf playgroundwars-0.0.1.tar playgroundwars-0.0.1'
  sh 'bzip2 playgroundwars-0.0.1.tar'
end