sztupy-shaml 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shaml.rb +4 -3
- metadata +1 -1
data/lib/shaml.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'zip/zip'
|
3
3
|
|
4
|
-
SHAML_VERSION="0.3.
|
4
|
+
SHAML_VERSION="0.3.6"
|
5
5
|
|
6
6
|
TEMPLATEDIR = File.join(File.dirname(__FILE__),"templates")
|
7
7
|
|
@@ -169,10 +169,11 @@ else
|
|
169
169
|
rescue Exception => e
|
170
170
|
end
|
171
171
|
FileUtils.cp_r("libraries",File.join(appname,"bin"))
|
172
|
-
FileUtils.cp_r("libraries",File.join(appname+".Tests","bin"))
|
173
172
|
puts "Compiling using gmcs"
|
174
173
|
system("gmcs -recurse:#{File.join(appname,"*.cs")} `ls libraries/*.dll | sed \"s/libr/-r:libr/\"` -r:System.Web.Routing -r:System.Web -t:library -out:#{File.join(appname,"bin",appname+".dll")}")
|
175
|
-
|
174
|
+
FileUtils.cp_r("libraries",File.join(appname+".Tests","bin"))
|
175
|
+
FileUtils.cp(File.join(appname,"bin",appname+".dll"),File.join(appname+".Tests","bin"))
|
176
|
+
system("gmcs -recurse:#{File.join(appname+".Tests","*.cs")} `ls libraries/*.dll | sed \"s/libr/-r:libr/\"` -r:System.Web.Routing -r:System.Web -r:#{File.join(appname,"bin",appname+".dll")} -t:library -out:#{File.join(appname+".Tests","bin",appname+"Tests.dll")}")
|
176
177
|
puts "Compiling stylesheets"
|
177
178
|
Dir.chdir(appname) do
|
178
179
|
system("compass --update")
|