Sha256: 71ac29465f0e459d9c6c3b7eb42e0bed7a5d89da42370714419f9b06c4a582ac

Contents?: true

Size: 555 Bytes

Versions: 26

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "standard/rake"
require "rake/extensiontask"
require "rb_sys/extensiontask"

GEMSPEC = Gem::Specification.load("tiktoken_ruby.gemspec")

RbSys::ExtensionTask.new("tiktoken_ruby", GEMSPEC) do |ext|
  ext.lib_dir = "lib/tiktoken_ruby"
end

RSpec::Core::RakeTask.new(:spec)


task :native, [:platform] do |_t, platform:|
  sh "bundle", "exec", "rb-sys-dock", "--platform", platform, "--build"
end

task build: :compile

task default: %i[compile spec standard]

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
tiktoken_ruby-0.0.3-x86_64-linux Rakefile
tiktoken_ruby-0.0.3-x86_64-linux-musl Rakefile
tiktoken_ruby-0.0.3-x86_64-darwin Rakefile
tiktoken_ruby-0.0.3-x64-mingw32 Rakefile
tiktoken_ruby-0.0.3-x64-mingw-ucrt Rakefile
tiktoken_ruby-0.0.3-arm64-darwin Rakefile
tiktoken_ruby-0.0.3-arm-linux Rakefile
tiktoken_ruby-0.0.3-aarch64-linux Rakefile
tiktoken_ruby-0.0.3 Rakefile
tiktoken_ruby-0.0.2-arm64-darwin Rakefile
tiktoken_ruby-0.0.2-x64-mingw32 Rakefile
tiktoken_ruby-0.0.2-x86_64-darwin Rakefile
tiktoken_ruby-0.0.2-x86_64-linux-musl Rakefile
tiktoken_ruby-0.0.2-x86_64-linux Rakefile
tiktoken_ruby-0.0.2-x64-mingw-ucrt Rakefile
tiktoken_ruby-0.0.2-arm-linux Rakefile
tiktoken_ruby-0.0.2-aarch64-linux Rakefile
tiktoken_ruby-0.0.2 Rakefile
tiktoken_ruby-0.0.1 Rakefile
tiktoken_ruby-0.0.1-x86_64-darwin Rakefile