Skip to content

Fix custom rules not applying under the utility project kind on gmake2#1939

Open
artemking4 wants to merge 1 commit intopremake:masterfrom
artemking4:master
Open

Fix custom rules not applying under the utility project kind on gmake2#1939
artemking4 wants to merge 1 commit intopremake:masterfrom
artemking4:master

Conversation

@artemking4
Copy link

What does this PR do?

Fixes utility projects not applying rules under gmake2.
Basically copied some code over from gmake2_cpp.lua.

@nickclark2016
Copy link
Member

Can we get a test or two added here?

@artemking4
Copy link
Author

Can we get a test or two added here?

Dunno, i dont really know how tests here work, but im using this on my machine and its more than fine.

@nickclark2016
Copy link
Member

Can we get a test or two added here?

Dunno, i dont really know how tests here work, but im using this on my machine and its more than fine.

Take a look at the tests in the adjacent directory, should be pretty straight forward.

Copy link
Member

@nickclark2016 nickclark2016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking until #1940 is resolved.

else
rules[extension] = rule
end
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can similar/copied code from gmake2_cpp.lua be factorized?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, it should be. But i dont know the right place for it to be.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants