Sha256: 2ef66468ab0f560592bf7c7c23bc708693ae829335898c08aabdce9344cc933d

Contents?: true

Size: 513 Bytes

Versions: 15

Compression:

Stored size: 513 Bytes

Contents

plugin :Csharp

src_files = FileList["src/*.cs"]

gen Assembly, "hello.exe" do |t|
    t.sources = %w(Hello.cs)
end

gen Assembly, "AB.dll" => "hello.exe" do |t|
    t.sources = src_files
    t.debug = true
    t.optimize = true
    t.warnings = true
end

=begin
assembly "hello.exe" => "Hello.cs"

assembly "AB.dll" => src_files + ["hello.exe"] do |t|
    t.sources = src_files
    t.debug = true
    t.optimize = true
    t.warnings = true
end
=end

task :clean do
    sys.rm_f FileList["*.{exe,dll,obj}"]
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rant-0.5.2 test/plugin/csharp/Rantfile
rant-0.3.2 test/plugin/csharp/Rantfile
rant-0.3.4 test/plugin/csharp/Rantfile
rant-0.3.6 test/plugin/csharp/Rantfile
rant-0.3.8 test/plugin/csharp/Rantfile
rant-0.4.0 test/plugin/csharp/Rantfile
rant-0.4.2 test/plugin/csharp/Rantfile
rant-0.4.4 test/plugin/csharp/Rantfile
rant-0.4.8 test/plugin/csharp/Rantfile
rant-0.5.0 test/plugin/csharp/Rantfile
rant-0.5.4 test/plugin/csharp/Rantfile
rant-0.5.6 test/plugin/csharp/Rantfile
rant-0.3.0 test/plugin/csharp/Rantfile
rant-0.4.6 test/plugin/csharp/Rantfile
rant-0.5.7 test/plugin/csharp/Rantfile