mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-08 02:15:32 +00:00
Reorg test fixtures
This commit is contained in:
3
test/fixtures/ruby/Capfile
vendored
Normal file
3
test/fixtures/ruby/Capfile
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
load 'deploy'
|
||||
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
|
||||
load 'config/deploy'
|
||||
3
test/fixtures/ruby/Rakefile
vendored
Normal file
3
test/fixtures/ruby/Rakefile
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
task :default do
|
||||
puts "Rake"
|
||||
end
|
||||
2
test/fixtures/ruby/foo.rb
vendored
Normal file
2
test/fixtures/ruby/foo.rb
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
module Foo
|
||||
end
|
||||
2
test/fixtures/ruby/grit.rb
vendored
Normal file
2
test/fixtures/ruby/grit.rb
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
module Grit
|
||||
end
|
||||
2
test/fixtures/ruby/macruby-script
vendored
Executable file
2
test/fixtures/ruby/macruby-script
vendored
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env macruby
|
||||
puts "MacRuby"
|
||||
4
test/fixtures/ruby/script.rake
vendored
Executable file
4
test/fixtures/ruby/script.rake
vendored
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env rake
|
||||
task :default do
|
||||
puts "Rake"
|
||||
end
|
||||
2
test/fixtures/ruby/script.rb
vendored
Executable file
2
test/fixtures/ruby/script.rb
vendored
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env ruby
|
||||
puts "Ruby"
|
||||
2
test/fixtures/ruby/script2.rb
vendored
Normal file
2
test/fixtures/ruby/script2.rb
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#! /usr/bin/env ruby -w -Ilib:test
|
||||
echo "Ruby"
|
||||
2
test/fixtures/ruby/wrong_shebang.rb
vendored
Normal file
2
test/fixtures/ruby/wrong_shebang.rb
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env python
|
||||
puts "Not Python"
|
||||
Reference in New Issue
Block a user