Sha256: 2bdf876f18cfcacd0ca3f62514b5eaadfa641206e6ced1d6feeb4e7179232757
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
# -*- mode: ruby; coding: utf-8 -*- source 'https://rubygems.org' SUBMODULES = %w[xot rucy rays reflexion] def local_path (name) File.expand_path "../#{name.gsub /xion/, 'x'}", __FILE__ end def have_local (name) File.directory? local_path name end def submodule (*names) names.each do |name| if have_local name gem name, path: local_path(name) else gem name end end end group :development do gem 'rake' end submodule *SUBMODULES gem 'spacy', path: '.' if SUBMODULES.all? {|name| have_local name}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spacy-0.1.4 | Gemfile |