Permalink
Browse files

Move 'missing_primitives' task to the vm directory and correct output

  • Loading branch information...
1 parent ff648ca commit f7ba33ecec1d001fe67d6b70cf5eed0802748f1b Wilson Bilkovich committed Jul 29, 2008
Showing with 14 additions and 14 deletions.
  1. +0 −13 Rakefile
  2. +13 −0 vm/Rakefile
  3. +1 −1 { → vm}/shotgun_primitives.txt
View
@@ -19,19 +19,6 @@ task :default => :build
desc "Build everything that needs to be built"
task :build => 'build:vm'
-desc "Show which primitives are missing"
-task :missing_primitives do
- cpp_primitives = `grep 'Ruby.primitive' vm/*.hpp | awk '{ print $4 }'`
-
- cpp_primitives = cpp_primitives.gsub(':', '').split("\n").sort
-
- shotgun_primitives = File.read('shotgun_primitives.txt').split "\n"
-
- missing = shotgun_primitives - cpp_primitives
-
- puts missing.join("\n")
-end
-
# task :stable_compiler do
# if ENV['USE_CURRENT'] or ENV['SYSTEM']
# puts "Use current versions, not stable."
View
@@ -24,6 +24,19 @@ task :distclean => :clean do
end
end
+desc "Show which primitives are missing"
+task :missing_primitives do
+ cpp_primitives = `grep 'Ruby.primitive' *.hpp | awk '{ print $4 }'`
+
+ cpp_primitives = cpp_primitives.gsub(':', '').split("\n").sort.uniq
+
+ shotgun_primitives = File.read('shotgun_primitives.txt').split("\n").sort.uniq
+
+ missing = shotgun_primitives - cpp_primitives
+
+ puts missing.join("\n")
+end
+
############################################################
# Files, Flags, & Constants
@@ -174,7 +174,7 @@ regexp_match_start
regexp_new
regexp_options
regexp_search_region
-replace_process#
+replace_process
reset_method_cache
restore_encloser_path
sampler_activate

0 comments on commit f7ba33e

Please sign in to comment.