summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-26 00:53:22 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-30 19:38:22 +0100
commita8e82ba99adf1a2a34b136388b088dcfe60d9593 (patch)
tree567a509fe479ca4d8ed638c06dc54356caa3890f /Gemfile
parentad3b8da957176360566d678437e10284fc1b8f2c (diff)
Prepare project structure
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..80fe15a
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,14 @@
+source 'https://rubygems.org'
+gemspec
+
+unless ENV.fetch('ASCIIDOCTOR_VERSION', '').empty?
+ if (match = ENV['ASCIIDOCTOR_VERSION'].match(/^git:(\w+)/))
+ gem 'asciidoctor', github: 'asciidoctor/asciidoctor', ref: match[1]
+ else
+ gem 'asciidoctor', ENV['ASCIIDOCTOR_VERSION']
+ end
+end
+
+group :ci do
+ gem 'codacy-coverage', '~> 1.1', require: false
+end