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

Added option to override GOOGLE_CHROME detection; eg. for Chromium users (reopened #113) #114

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ljrk0
Copy link

@ljrk0 ljrk0 commented Apr 2, 2015

This is useful for people who's binary is not google-chrome, eg. chromium users, or users of ArchLinux
(there GOOGLE_CHROME should be "google-chrome-stable").

@@ -10,7 +10,10 @@ CFX=$(BUILD_DIR)/../../third_party/firefox-addon-sdk/bin/cfx

CLOSURE_STRICT_FLAGS=--language_in ECMASCRIPT5_STRICT --warning_level VERBOSE --compilation_level ADVANCED_OPTIMIZATIONS --externs externs_node.js --jscomp_error missingProperties --jscomp_error checkTypes --jscomp_error checkRegExp --jscomp_error accessControls --jscomp_error const --jscomp_error missingReturn

ifeq ($(shell uname),Darwin)
ifneq ($(shell cat binary_name),)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why isn't this an environment variable? The use of a file in this way seems a bit strange to me.

Copy link
Author

Choose a reason for hiding this comment

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

Hm, ye. I wrote this when I was a bit tired. An env-var seems more reasonable.

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.

2 participants