mirror of https://github.com/tildeio/helix
Fix failing specs
This commit is contained in:
parent
1411175319
commit
49811448d9
|
@ -1,5 +1,5 @@
|
|||
# coding: utf-8
|
||||
runtime_lib = File.expand_path('../ruby/lib', __FILE__)
|
||||
runtime_lib = File.expand_path('../../ruby/lib', __FILE__)
|
||||
$LOAD_PATH.unshift(runtime_lib) unless $LOAD_PATH.include?(runtime_lib)
|
||||
require 'helix_runtime/version'
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
gem 'rake', '~> 10.0'
|
||||
gem 'rspec', '~> 3.4'
|
||||
gem 'colorize'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
gem 'rake', '~> 10.0'
|
||||
gem 'rspec', '~> 3.4'
|
||||
gem 'colorize'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -3,4 +3,5 @@ source 'https://rubygems.org'
|
|||
gemspec
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
gem 'activesupport', '5.1.0.beta1'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|||
spec.require_paths = ["lib"]
|
||||
|
||||
spec.add_runtime_dependency "helix_runtime"
|
||||
spec.add_runtime_dependency "helix_cli"
|
||||
spec.add_development_dependency "bundler", "~> 1.11"
|
||||
spec.add_development_dependency "rake", "~> 10.0"
|
||||
spec.add_development_dependency "minitest", "~> 5.0"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
gem 'rake', '~> 10.0'
|
||||
gem 'rspec', '~> 3.4'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
gem 'rake', '~> 10.0'
|
||||
gem 'rspec', '~> 3.4'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
gem 'rake', '~> 10.0'
|
||||
gem 'rspec', '~> 3.4'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -3,3 +3,4 @@ source 'https://rubygems.org'
|
|||
gemspec
|
||||
|
||||
gem 'helix_runtime', path: '../../ruby'
|
||||
gem 'helix_cli', path: '../../cli'
|
||||
|
|
|
@ -6,7 +6,7 @@ require_relative '../shared.rb'
|
|||
# For Windows
|
||||
$stdout.sync = true
|
||||
|
||||
HelixRuntime::BuildTask.new do |t|
|
||||
HelixCLI::BuildTask.new do |t|
|
||||
t.build_root = File.expand_path("../..", __dir__)
|
||||
t.helix_lib_dir = File.expand_path("../../ruby/windows_build", __dir__)
|
||||
t.pre_build = HelixRuntime::Tests.pre_build
|
||||
|
|
|
@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
|
|||
spec.require_paths = ["lib"]
|
||||
|
||||
spec.add_runtime_dependency "helix_runtime"
|
||||
spec.add_runtime_dependency "helix_cli"
|
||||
spec.add_development_dependency "bundler", "~> 1.11"
|
||||
spec.add_development_dependency "rake", "~> 10.0"
|
||||
spec.add_development_dependency "minitest", "~> 5.0"
|
||||
|
|
Loading…
Reference in New Issue