[SCM] ci-tooling packaging branch, master, updated. 2dc69e7fd2c40cc61603da10dfb82c74d3b6a41d
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Tue Nov 3 12:45:31 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=2dc69e7
The following commit has been merged in the master branch:
commit 2dc69e7fd2c40cc61603da10dfb82c74d3b6a41d
Author: Rohan Garg <rohan at garg.io>
Date: Tue Nov 3 13:44:07 2015 +0100
Moved to pangea-tooling
---
test/lib/shebang.rb | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/test/lib/shebang.rb b/test/lib/shebang.rb
deleted file mode 100644
index 6f126b9..0000000
--- a/test/lib/shebang.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-class Shebang
- attr_reader :valid
- attr_reader :parser
-
- def initialize(line)
- @valid = false
- @parser = nil
-
- return unless line
- return unless line.start_with?('#!')
-
- parts = line.split(' ')
-
- return unless parts.size >= 1
- if parts[0].end_with?('/env')
- return unless parts.size >= 2
- @parser = parts[1]
- elsif !parts[0].include?('/') || parts[0].end_with?('/')
- return # invalid
- else
- @parser = parts[0].split('/').pop
- end
-
- @valid = true
- end
-end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list