You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			Ruby
		
	
			
		
		
	
	
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			Ruby
		
	
| # frozen_string_literal: true
 | |
| # note: this runs directly in the git checkout dir
 | |
| 
 | |
| step :gen_binding, after: :prepare_checkout do
 | |
|   begin
 | |
|     env.PREFIX = opt.clang_prefix if opt.clang_prefix
 | |
|     run opt.base_dir, %W(./gen_binding.rb -j#{opt.jobs})
 | |
|   ensure
 | |
|     env.unset 'PREFIX'
 | |
|   end
 | |
| 
 | |
|   run opt.base_dir, %w(git diff --submodule=diff --exit-code)
 | |
| end
 |