Skip to content

Commit 581eaef

Browse files
committed
Fix commands and environment variables
1 parent 5158f38 commit 581eaef

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

  • tools/make/lib/lint/license-headers

tools/make/lib/lint/license-headers/julia.mk

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,63 +37,63 @@ lint-license-headers-julia: lint-license-headers-julia-src lint-license-headers-
3737
#/
3838
# Lints license headers in Julia source files.
3939
#
40-
# @param {string} [SOURCES_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
40+
# @param {string} [JULIA_SOURCES_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
4141
#
4242
# @example
4343
# make lint-license-headers-julia-src
4444
#
4545
# @example
46-
# make lint-license-headers-julia-src SOURCES_FILTER=.*/base/erf/.*
46+
# make lint-license-headers-julia-src JULIA_SOURCES_FILTER=.*/base/erf/.*
4747
#/
4848
lint-license-headers-julia-src: $(LICENSE_HEADER_LINT) $(NODE_MODULES)
49-
$(QUIET) $(FIND_SOURCES_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
49+
$(QUIET) $(FIND_JULIA_SOURCES_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
5050

5151
.PHONY: lint-license-headers-julia-src
5252

5353
#/
5454
# Lints license headers in Julia test files.
5555
#
56-
# @param {string} [TESTS_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
56+
# @param {string} [JULIA_TESTS_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
5757
#
5858
# @example
5959
# make lint-license-headers-julia-tests
6060
#
6161
# @example
62-
# make lint-license-headers-julia-tests TESTS_FILTER=.*/base/erf/.*
62+
# make lint-license-headers-julia-tests JULIA_TESTS_FILTER=.*/base/erf/.*
6363
#/
6464
lint-license-headers-julia-tests: $(LICENSE_HEADER_LINT) $(NODE_MODULES)
65-
$(QUIET) $(FIND_TESTS_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
65+
$(QUIET) $(FIND_JULIA_TESTS_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
6666

6767
.PHONY: lint-license-headers-julia-tests
6868

6969
#/
7070
# Lints license headers in Julia examples files.
7171
#
72-
# @param {string} [EXAMPLES_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
72+
# @param {string} [JULIA_EXAMPLES_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
7373
#
7474
# @example
7575
# make lint-license-headers-julia-examples
7676
#
7777
# @example
78-
# make lint-license-headers-julia-examples EXAMPLES_FILTER=.*/base/erf/.*
78+
# make lint-license-headers-julia-examples JULIA_EXAMPLES_FILTER=.*/base/erf/.*
7979
#/
8080
lint-license-headers-julia-examples: $(LICENSE_HEADER_LINT) $(NODE_MODULES)
81-
$(QUIET) $(FIND_EXAMPLES_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
81+
$(QUIET) $(FIND_JULIA_EXAMPLES_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
8282

8383
.PHONY: lint-license-headers-julia-examples
8484

8585
#/
8686
# Lints license headers in Julia benchmark files.
8787
#
88-
# @param {string} [BENCHMARKS_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
88+
# @param {string} [JULIA_BENCHMARKS_FILTER] - file path pattern (e.g., `.*/base/erf/.*`)
8989
#
9090
# @example
9191
# make lint-license-headers-julia-benchmarks
9292
#
9393
# @example
94-
# make lint-license-headers-julia-benchmarks BENCHMARKS_FILTER=.*/base/erf/.*
94+
# make lint-license-headers-julia-benchmarks JULIA_BENCHMARKS_FILTER=.*/base/erf/.*
9595
#/
9696
lint-license-headers-julia-benchmarks: $(LICENSE_HEADER_LINT) $(NODE_MODULES)
97-
$(QUIET) $(FIND_BENCHMARKS_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
97+
$(QUIET) $(FIND_JULIA_BENCHMARKS_CMD) | NODE_PATH="$(NODE_PATH)" $(NODE) $(LICENSE_HEADER_LINT) $(LICENSE_HEADER_LINT_FLAGS)
9898

9999
.PHONY: lint-license-headers-julia-benchmarks

0 commit comments

Comments
 (0)