From 66e37c079812f3759a97f2a4712ec729f017cc33 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 16 May 2015 15:47:19 +0200 Subject: [PATCH] Move ruby to makefile + versions Last shebang-based versioning eliminated! --- Makefile | 4 +++- ruby/null.rb | 3 +++ ruby/null.rb18 | 3 --- ruby/null.rb19 | 3 --- 4 files changed, 6 insertions(+), 7 deletions(-) create mode 100755 ruby/null.rb delete mode 100755 ruby/null.rb18 delete mode 100755 ruby/null.rb19 diff --git a/Makefile b/Makefile index 081a41b..d409acf 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,6 @@ SCRIPTS = \ mksh/null.mksh mksh/null.mksh-static \ perl/null.pl \ awk/null.mawk awk/null.gawk \ - ruby/null.rb18 ruby/null.rb19 \ php/null.php php/null.php-n \ tcl/null.tcl84 tcl/null.tcl85 tcl/null.tcl86 @@ -37,6 +36,9 @@ PYTHON_TARGETS = $(foreach py,$(PYTHON_VERSIONS), \ LUA_VERSIONS ?= lua5.1 lua5.2 luajit LUA_TARGETS = $(LUA_VERSIONS:%="% lua/null.lua") +RUBY_VERSIONS ?= ruby2.1 ruby2.2 +RUBY_TARGETS = $(RUBY_VERSIONS:%="% ruby/null.rb") + EXTRA_RUN = /bin/true ALL_TARGETS = \ diff --git a/ruby/null.rb b/ruby/null.rb new file mode 100755 index 0000000..99bb468 --- /dev/null +++ b/ruby/null.rb @@ -0,0 +1,3 @@ +# this is not a shebang + +exit(0) diff --git a/ruby/null.rb18 b/ruby/null.rb18 deleted file mode 100755 index cb80947..0000000 --- a/ruby/null.rb18 +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/ruby1.8 - -exit(0) diff --git a/ruby/null.rb19 b/ruby/null.rb19 deleted file mode 100755 index 92438fa..0000000 --- a/ruby/null.rb19 +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/ruby1.9.1 - -exit(0) -- 2.39.5