You are here: Home > Latest news from Darcs > Removes build directory (repo migration leftover)

Revision 20080318213537-9043f-9e5750...

Removes build directory (repo migration leftover)

build/build.rb

Changes to build.rb

1
# build.rb - Build script for the motiro project
 
2
#
 
3
# Copyright (c) 2006-2007 Thiago Arrais
 
4
#
 
5
# This program is free software.
 
6
# You can distribute/modify this program under the terms of
 
7
# the GNU LGPL, Lesser General Public License version 2.1.
 
8
#
 
9
 
10
def do_real_build
 
11
    `rails -s src`
 
12
end
 
13
 
14
def build(home)
 
15
    old_wd = Dir.getwd
 
16
    Dir.chdir home
 
17
 
18
    do_real_build
 
19
 
20
    Dir.chdir old_wd
 
21
end
 
22
 
23
motiro_home = File.dirname($0) + '/..'
 
24
 
25
build(motiro_home)
 
26
 
27
 
28
 
29