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

build: enable npm for php/python builds #1133

Merged
merged 3 commits into from
Jun 22, 2021
Merged

build: enable npm for php/python builds #1133

merged 3 commits into from
Jun 22, 2021

Conversation

dwsupplee
Copy link
Contributor

One of the nicer code formatting tools I've found for PHP is, interestingly enough, written in node: https://github.com/prettier/plugin-php

I was hoping to use it as part of our synth scripts to help smooth over some recent changes from the microgenerator. Ultimately I think I'd like to work this into the microgenerator, but am hoping this would be an acceptable alternative until then.

These additions are copied over from node's build file and based upon reviewing the changes here. If there is a more appropriate way to achieve this here or we'd prefer to have a separate build file for PHP, please let me know, but it seemed relatively low impact to include this for python as well.

@dwsupplee dwsupplee requested review from bcoe and chingor13 as code owners June 22, 2021 16:01
@dwsupplee dwsupplee requested a review from a team June 22, 2021 16:01
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 22, 2021
@dwsupplee dwsupplee merged commit 9763f20 into master Jun 22, 2021
@dwsupplee dwsupplee deleted the dwsupplee-patch-1 branch June 22, 2021 21:01
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 24, 2021
)

Fixes #1134 🦕

Removes the commit body and relative PR# from the commit message.

For example, for this commit: 9763f20

`post-processor-changes.txt` would contain

```
build: enable npm for php/python builds 

Source-Link: 9763f20
```

instead of

```
build: enable npm for php/python builds (#1133)

* build: enable npm for php/python builds

* update comment
Source-Link: 9763f20
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants