Skip to content

Tweak Makefile for MacOS#97

Merged
thebaer merged 1 commit into
writefreely:masterfrom
dariusk:master
Apr 30, 2019
Merged

Tweak Makefile for MacOS#97
thebaer merged 1 commit into
writefreely:masterfrom
dariusk:master

Conversation

@dariusk

@dariusk dariusk commented Apr 30, 2019

Copy link
Copy Markdown
Contributor

On my MacOS machine, global node binaries like lessc are stored in /usr/local/bin/. The current Makefile only checks for /usr/bin/ and this rectifies that error. There is probably a better way to just run which lessc and then use that path, defaulting to node_modules if that path doesn't exist, but as this is my first contribution to the project I wanted to stick with what was already there, stylistically.


  • I have signed the CLA

@dariusk dariusk changed the title Strip newlines from AP Article object HTML output, fix Strip newlines from AP Article object HTML output, tweak Makefile Apr 30, 2019
@thebaer

thebaer commented Apr 30, 2019

Copy link
Copy Markdown
Member

Hey, thanks for submitting this! These are both great fixes I'd like to get merged. There are just a few potential gotchas with stripping newlines that I want to discuss, so would you mind splitting this into two PRs? That way I can merge the lessc Makefile changes while we talk about the newline stuff.

@dariusk

dariusk commented Apr 30, 2019 via email

Copy link
Copy Markdown
Contributor Author

@dariusk dariusk changed the title Strip newlines from AP Article object HTML output, tweak Makefile Tweak Makefile for MacOS Apr 30, 2019
@dariusk

dariusk commented Apr 30, 2019

Copy link
Copy Markdown
Contributor Author

Okay, split this. This PR is now just the lessc stuff, #98 is the newlines.

@thebaer

thebaer commented Apr 30, 2019

Copy link
Copy Markdown
Member

Awesome, thank you! I agree there's probably a better way to use the path from which lessc in the future (feel free to improve it anytime), but this will do the trick! Merging now.

@thebaer thebaer merged commit 601fc5d into writefreely:master Apr 30, 2019
@thebaer thebaer added this to the 0.10 milestone Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants