Commit d6176951 authored by Greg Williams's avatar Greg Williams
Browse files

Switched to use Ceedling as a RubyGem, which also pulls in Unity and CMock,...

Switched to use Ceedling as a RubyGem, which also pulls in Unity and CMock, and eliminates the need to recuse into subrepos
parent 6f0d9f96
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
[submodule "vendor/ceedling"]
	path = vendor/ceedling
	url = https://github.com/ThrowTheSwitch/Ceedling.git
[submodule "vendor/protobuf-c"]
	path = vendor/protobuf-c
	url = https://github.com/protobuf-c/protobuf-c
+2 −7
Original line number Diff line number Diff line
source "http://rubygems.org/"

gem "bundler", ">= 1.3.5"
gem "rake", ">= 0.9.2.2"

gem "require_all"
gem "constructor"
gem "diy"
gem 'bundler', '>= 1.3.5'
gem 'ceedling', '>= 0.15'
+5 −8
Original line number Diff line number Diff line
GEM
  remote: http://rubygems.org/
  specs:
    constructor (2.0.0)
    diy (1.1.2)
      constructor (>= 1.0.0)
    ceedling (0.15.0)
      rake (>= 0.8.7)
      thor (>= 0.14.5)
    rake (10.3.2)
    require_all (1.3.2)
    thor (0.19.1)

PLATFORMS
  ruby

DEPENDENCIES
  bundler (>= 1.3.5)
  constructor
  diy
  rake (>= 0.9.2.2)
  require_all
  ceedling (>= 0.15)
+2 −4
Original line number Diff line number Diff line
@@ -4,12 +4,10 @@ This repo contains code for producing C Kinetic clients which use the Seagate Ki

Cloning the Repo
================
    > git clone https://github.com/atomicobject/kinetic-c.git
    > cd kinetic-c
    > git submodule update --init --recursive # needed for nested submodules
    > git clone --recursive https://github.com/atomicobject/kinetic-c.git

    > cd kinetic-c
    > bundle install # Ensures you have all RubyGems needed

    > rake #run all tests and build kinetic-c library and examples

*NOTE: Once you have performed the above steps, you can get updates to kinetic-c and all nested submodules by simply doing: `git submodule update --recursive`
+4 −2
Original line number Diff line number Diff line
PROJECT_CEEDLING_ROOT = "vendor/ceedling"
TEAMCITY_BUILD = !ENV['TEAMCITY_PROJECT_NAME'].nil?

load "#{PROJECT_CEEDLING_ROOT}/lib/ceedling/rakefile.rb"
require 'ceedling'

# Need to manually load the Ceedling rakefile for now, until it is baked into loading of ceedling.rb
require 'ceedling/rakefile'

def report(message='')
  $stderr.flush
Loading