holywyvern/carbuncle

View on GitHub
gems/carbuncle-dependencies/build_tools/dependencies/raylib.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Carbuncle
  module Dependencies
    class Raylib < Carbuncle::Dependency
      def name
        'Raylib'
      end

      def url
        'https://github.com/raysan5/raylib/archive/4.5.0.zip'
      end

      def subdir
        'raylib-4.5.0'
      end

      def lib_dir
        @lib_dir ||= File.join(build_dir, 'raylib')
      end

      def include_paths
        [base_dir, File.join(base_dir, 'src'),
         build_dir, File.join(build_dir, 'raylib')]
      end
    end
  end
end