Title: Generate script: Don't write .cc or .h files if unchanged by smith-kyle · Pull Request #1091 · nodegit/nodegit · GitHub
Open Graph Title: Generate script: Don't write .cc or .h files if unchanged by smith-kyle · Pull Request #1091 · nodegit/nodegit
X Title: Generate script: Don't write .cc or .h files if unchanged by smith-kyle · Pull Request #1091 · nodegit/nodegit
Description: The generation script now checks whether the file has changed before writing it to /src or /include. This is to improve compilation time when testing changes to generated code. It works by creating a /temp directory, writing the generated code to /temp/src and /temp/include, then syncing those folders with /src and /include by deleting files that no longer exist and copying files that have changed or been added since the last code generation. Finally the /temp directory is deleted If /src and /include don't exist (i.e. it's the first time the generation script has been run), /temp/src will be copied to /src and /temp/include will be copied to /include.
Open Graph Description: The generation script now checks whether the file has changed before writing it to /src or /include. This is to improve compilation time when testing changes to generated code. It works by creating...
X Description: The generation script now checks whether the file has changed before writing it to /src or /include. This is to improve compilation time when testing changes to generated code. It works by creating...
Opengraph URL: https://github.com/nodegit/nodegit/pull/1091
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:69c973a4-518e-aa88-041a-1635e9e5ab9a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B9C2:32D846:AD104D:F8DFB4:6A5F357C |
| html-safe-nonce | f0df113612a73183318af7efb5a2d48c00bfecc68c945c8feeab4434f313d97a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUMyOjMyRDg0NjpBRDEwNEQ6RjhERkI0OjZBNUYzNTdDIiwidmlzaXRvcl9pZCI6Ijk5OTY4NjM5NzY0NDE5MTEwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4b510b274497bea70947a8fb1f81ab068e99b2fdcf20e1a109ec9bba6a16aa38 |
| hovercard-subject-tag | pull_request:78941447 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodegit/nodegit/pull/1091/files |
| twitter:image | https://avatars.githubusercontent.com/u/5474861?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5474861?s=400&v=4 |
| og:image:alt | The generation script now checks whether the file has changed before writing it to /src or /include. This is to improve compilation time when testing changes to generated code. It works by creating... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c80a2cb0221395c7c3987d7891fcde45641e27ea0bd3917b247d8fe154cf710f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4cf24abec96dc3a7b39f364f737aca1e50991904 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width