- From: Michael[tm] Smith <notifications@github.com>
- Date: Fri, 13 Mar 2020 00:27:21 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 March 2020 07:27:33 UTC
sideshowbarker commented on this pull request. > @@ -28,6 +29,11 @@ else exit 22 \ ); endif +ifdef node_installed + node ./check-grammar.js index.html +else + @echo You need node for grammer checking. > You could check if one of https://docs.travis-ci.com/user/environment-variables/#default-environment-variables is set. Figuring out how to do that would require figuring out how Makefile syntax works though -_-. So I see that makefile is already using some `ifdef …`. The makefile syntax for checking environment variables is to just use, e.g. `ifdef $(TRAVIS)` — that’d seem to be the simplest way to identify whether we’re being run in the Travis environment. There’s also `ifndef` for the negation of that, as well as `ifeq` and `ifneq` for any case where we’d want to actually check the value of an environment variable (rather that just checking if it’s defined.) (I’d push a change for this to the PR branch myself, but I don’t have push perms here.) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/850#discussion_r392066410
Received on Friday, 13 March 2020 07:27:33 UTC