libshit

Just some random shit
git clone https://git.neptards.moe/neptards/libshit.git
Log | Files | Refs | Submodules | README | LICENSE

ci_conf.gen_binding.rb (353B)


      1 # frozen_string_literal: true
      2 # note: this runs directly in the git checkout dir
      3 
      4 step :gen_binding, after: :prepare_checkout do
      5   begin
      6     env.PREFIX = opt.clang_prefix if opt.clang_prefix
      7     run opt.base_dir, %W(./gen_binding.rb -j#{opt.jobs})
      8   ensure
      9     env.unset 'PREFIX'
     10   end
     11 
     12   run opt.base_dir, %w(git diff --submodule=diff --exit-code)
     13 end