Sha256: 5494071f257e79167558ab27211b2b4e03f2ceae2d49a1e273d7199aa1bec399

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler/setup'

require 'polycrystal'

Polycrystal::Registry.register(
  path: File.expand_path("#{__dir__}/crystal"),
  file: 'sample.cr',
  modules: ['CrystalModule']
)

build_path = File.expand_path("#{__dir__}/build")

FileUtils.mkdir_p(build_path)

Polycrystal::Loader.new(build_path: build_path).load

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
polycrystal-0.1.2 sample_project/sample.rb
polycrystal-0.1.1 sample_project/sample.rb
polycrystal-0.1.0-x86_64-darwin-21 sample_project/sample.rb