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

Few fixes for building on Windows. #4200

Merged
merged 2 commits into from May 5, 2016
Merged

Conversation

xiam
Copy link
Contributor

@xiam xiam commented May 4, 2016

Hey @oxtoacart, I initially could not make the thing work, I had to make a few changes, could you take a look at them?

S3CMD := $(shell which s3cmd 2> /dev/null)
WGET := $(shell which wget 2> /dev/null)
RUBY := $(shell which ruby 2> /dev/null)
get-command = $(shell which="$$(which $(1) 2> /dev/null)" && if [[ ! -z "$$which" ]]; then printf %q "$$which"; fi)
Copy link
Contributor Author

@xiam xiam May 4, 2016

Choose a reason for hiding this comment

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

My Windows setup was on a path that contained spaces and that was interfering with the $(NPM) target $(RESOURCES_DOT_GO) depended on. I ended up removing the $(NPM) target in favour of a descriptive message but I also fixed the problems with spaces on command names by passing them through printf %q.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 71.45% when pulling 74bfa04 on windowsbuild-xiam into 7166a54 on windowsbuild.

@xiam xiam changed the title [WIP] Few fixes for building on Windows. Few fixes for building on Windows. May 4, 2016
@myleshorton
Copy link
Contributor

These look good to me @xiam. Merging.

@myleshorton myleshorton merged commit bb08d39 into windowsbuild May 5, 2016
@myleshorton myleshorton deleted the windowsbuild-xiam branch May 5, 2016 03:58
oxtoacart pushed a commit that referenced this pull request Apr 28, 2020
Few fixes for building on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants