sztupy-shaml 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/shaml.rb +4 -3
  2. 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.5"
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
- 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+".dll")}")
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")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sztupy-shaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zsolt Sz. Sztupak