Skip to content

Commit

Permalink
💚 Running nested bundler probs not a good idea
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed May 7, 2024
1 parent cdaf803 commit 99aa071
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
# Run Tests
- name: Run All Self Tests
run: |
bundle exec rake ci
rake ci
# Run Blinky
# Disabled because it's set up for avr-gcc
Expand Down
22 changes: 12 additions & 10 deletions spec/spec_system_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,17 @@ def done!
end

def deploy_gem
git_repo = File.expand_path(File.join(File.dirname(__FILE__), '..'))
bundler_gem_file_data = [ %Q{source "http://rubygems.org/"},
%Q{gem "rake"},
%Q{gem "constructor"},
%Q{gem "diy"},
%Q{gem "thor"},
%Q{gem "deep_merge"},
%Q{gem "unicode-display_width"},
%Q{gem "ceedling", :path => '#{git_repo}'}
].join("\n")
git_repo = File.expand_path( File.join( File.dirname( __FILE__ ), '..') )
bundler_gem_file_data = [
%Q{source "http://rubygems.org/"},
%Q{gem "rake"},
%Q{gem "constructor"},
%Q{gem "diy"},
%Q{gem "thor"},
%Q{gem "deep_merge"},
%Q{gem "unicode-display_width"},
%Q{gem "ceedling", :path => '#{git_repo}'}
].join("\n")

File.open(File.join(@dir, "Gemfile"), "w+") do |f|
f.write(bundler_gem_file_data)
Expand All @@ -86,6 +87,7 @@ def deploy_gem
end
end
end

end

# Does a few things:
Expand Down

0 comments on commit 99aa071

Please sign in to comment.