Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 383 Bytes

File metadata and controls

21 lines (17 loc) · 383 Bytes

Ruby ZIP Package

This rule runs bundle install --path vendor/bundle and creates a zip with the sources + vendor/bundle.

load(
    "@bazelruby_ruby_rules//ruby:defs.bzl",
    "ruby_package_zip",
)

ruby_package_zip(
    name = "ruby-lambda-package",
    srcs = [
        "Gemfile",
        "Gemfile.lock",
        "lib/lambda.rb",
        "template.yml",
    ],
)