build-tool 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +1 -2
- data/.gemtest +0 -0
- data/History.txt +19 -0
- data/Manifest.txt +0 -3
- data/Rakefile +3 -0
- data/lib/build-tool.rb +1 -1
- data/lib/build-tool/build-system/autoconf.rb +6 -1
- data/lib/build-tool/build-system/qt.rb +1 -0
- data/lib/build-tool/commands.rb +29 -1
- data/lib/build-tool/commands/build.rb +20 -20
- data/lib/build-tool/environment.rb +2 -2
- data/lib/build-tool/vcs/archive.rb +2 -2
- metadata +28 -80
- metadata.gz.sig +0 -0
- data/lib/build-tool/cfg/lexer.rb +0 -710
- data/lib/build-tool/cfg/parser.rb +0 -1159
- data/tasks/genfiles.rake +0 -28
data/tasks/genfiles.rake
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
PARSER = Dir["lib/build-tool/*.y", "lib/build-tool/cfg/*.y"].map { |f| f.chomp(".y") }
|
2
|
-
|
3
|
-
rule '.rb' => [ '.y' ] do |t|
|
4
|
-
puts "generating #{t.source}"
|
5
|
-
sh "racc -o#{t.name} #{t.source}"
|
6
|
-
end
|
7
|
-
|
8
|
-
PARSER.each do |parser| # need closure
|
9
|
-
# file "#{parser}.rb" => [ "#{parser}.y" ]
|
10
|
-
task :genfiles => [ "#{parser}.rb" ]
|
11
|
-
end
|
12
|
-
|
13
|
-
|
14
|
-
LEXER = Dir["lib/build-tool/*.rex", "lib/build-tool/cfg/*.rex"].map { |f| f.chomp(".rex") }
|
15
|
-
rule '.rb' => [ '.rex' ] do |t|
|
16
|
-
puts "generating #{t.source}"
|
17
|
-
sh "rex -o#{t.name} #{t.source}"
|
18
|
-
end
|
19
|
-
|
20
|
-
LEXER.each do |lexer| # need closure
|
21
|
-
# file "#{lexer}.rb" => [ "#{lexer}.rex" ]
|
22
|
-
task :genfiles => [ "#{lexer}.rb" ]
|
23
|
-
end
|
24
|
-
|
25
|
-
task :test => :genfiles
|
26
|
-
|
27
|
-
desc 'Regenerate all rex and racc files if necessary.'
|
28
|
-
task :genfiles
|