From f3ea0ebd4342389999c158ad819d4410d12e7fbe Mon Sep 17 00:00:00 2001 From: Torrey Payne <11740989+torreypayne@users.noreply.github.com> Date: Wed, 12 Aug 2026 21:36:29 +0000 Subject: [PATCH] chore(tombstone-library): generate Rakefile with bundler gem_tasks for release build --- .../.data/rakefile-template.erb | 18 ++++++++++++++++++ toys/tombstone-library/.toys.rb | 1 + 2 files changed, 19 insertions(+) create mode 100644 toys/tombstone-library/.data/rakefile-template.erb diff --git a/toys/tombstone-library/.data/rakefile-template.erb b/toys/tombstone-library/.data/rakefile-template.erb new file mode 100644 index 0000000..9962b2f --- /dev/null +++ b/toys/tombstone-library/.data/rakefile-template.erb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +# Copyright <%= Time.now.year %> Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require "bundler/setup" +require "bundler/gem_tasks" diff --git a/toys/tombstone-library/.toys.rb b/toys/tombstone-library/.toys.rb index 63885f2..28d8f72 100644 --- a/toys/tombstone-library/.toys.rb +++ b/toys/tombstone-library/.toys.rb @@ -97,6 +97,7 @@ def generate_files generate_one "LICENSE.md", "license-template.erb" generate_one "#{gem_name}.gemspec", "gemspec-template.erb" generate_one ".yardopts", "yardopts-template.erb" + generate_one "Rakefile", "rakefile-template.erb" mkdir_p "lib/#{namespace_dir}" generate_one "lib/#{namespace_dir}/version.rb", "version-template.erb" end