Skip to content

build-sys: Only build schema if source changed#1303

Merged
openshift-merge-robot merged 1 commit intocoreos:masterfrom
cgwalters:schematyper-make
Mar 31, 2020
Merged

build-sys: Only build schema if source changed#1303
openshift-merge-robot merged 1 commit intocoreos:masterfrom
cgwalters:schematyper-make

Conversation

@cgwalters
Copy link
Copy Markdown
Member

Previously we were generating the Go schema source each time
make is run, which forces the Go compiler to do more work
and slows down iteration.

Makefile rules are designed for this, so use that instead.

Previously we were generating the Go schema source each time
`make` is run, which forces the Go compiler to do more work
and slows down iteration.

`Makefile` rules are designed for this, so use that instead.
@jlebon
Copy link
Copy Markdown
Member

jlebon commented Mar 31, 2020

/lgtm

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants