Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): Add option to emit rerun-if-changed instructions #1021

Commits on Jun 17, 2022

  1. tonic-build: Add option to emit cargo:rerun-if-changed instructions

    Currently, tonic-build does not emit cargo:rerun-if-changed
    instructions. This will cause the build script to be rerun if any file
    changes in the package.
    
    This commit implements an option on the Builder called
    emit_rerun_if_changed that, when enabled, will emit the
    cargo:rerun-if-changed instructions for all of the proto file paths
    and include directories.
    
    Fixes: hyperium#1020
    Refs: hyperium#1019
    mickvangelderen committed Jun 17, 2022
    Copy the full SHA
    ec2efa0 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. Copy the full SHA
    f774465 View commit details
    Browse the repository at this point in the history
  2. Format

    mickvangelderen committed Jun 20, 2022
    Copy the full SHA
    8e64c55 View commit details
    Browse the repository at this point in the history