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

Deprecated some support for Rake, since Make is primary build system now.

parent 9ff490b2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -54,9 +54,10 @@ test: Rakefile $(LIB_OBJS)
	@echo Testing $(PROJECT)
	@echo --------------------------------------------------------------------------------
	bundle install
	bundle exec rake ci
	bundle exec rake test_all

clean:
	bundle exec rake clobber
	rm -rf $(BIN_DIR)/* $(OUT_DIR)/*.o *.core

.PHONY: clean
+1 −24
Original line number Diff line number Diff line
@@ -88,12 +88,6 @@ task :proto => [PROTO_OUT] do

end

desc "Analyze code w/CppCheck"
task :cppcheck do
  raise "CppCheck not found!" unless `cppcheck --version` =~ /cppcheck \d+.\d+/mi
  execute_command "cppcheck ./src ./test ./build/temp/proto", "Analyzing code w/CppCheck"
end

namespace :doxygen do

  DOCS_PATH = "./docs/"
@@ -374,27 +368,10 @@ namespace :tests do

end

desc "Build kinetic-c library"
task :lib do
  sh "make clean"
  sh "make"
  sh "sudo make install"
end

desc "Build example utility"
task :utility do
  sh "make utility"
end

desc "Test examples (test utility)"
task :run => ['utility'] do
  sh "make run" 
end

task :test_all => ['tests:unit', 'tests:integration', 'tests:system']

desc "Build all and run test utility"
task :all => ['cppcheck', 'test_all', 'lib', 'utility', 'run']
task :all => ['test_all']

desc "Run full CI build"
task :ci => ['clobber', 'all']