forked from stdlib-js/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
115 lines (101 loc) · 3.38 KB
/
Makefile
File metadata and controls
115 lines (101 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#/
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/
# DEPENDENCIES #
# Note: keep in alphabetical order...
include $(TOOLS_MAKE_LIB_DIR)/lint/c/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/conf/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/editorconfig.mk
include $(TOOLS_MAKE_LIB_DIR)/lint/filenames.mk
include $(TOOLS_MAKE_LIB_DIR)/lint/git/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/javascript/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/julia/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/license-headers/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/markdown/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/package_json.mk
include $(TOOLS_MAKE_LIB_DIR)/lint/python/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/r/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/repl_help.mk
include $(TOOLS_MAKE_LIB_DIR)/lint/shell/Makefile
include $(TOOLS_MAKE_LIB_DIR)/lint/toposort.mk
include $(TOOLS_MAKE_LIB_DIR)/lint/typescript/Makefile
# RULES #
#/
# Lints files.
#
# ## Notes
#
# - This rule supports the environment variables supported by each prerequisite.
# - This rule is useful when wanting to glob for files, irrespective of context, for a particular package in order to lint all contained files.
#
# @example
# make lint
#/
lint: lint-filenames lint-javascript lint-markdown lint-c lint-python lint-julia lint-r lint-shell lint-typescript lint-conf lint-pkg-json lint-repl-help lint-license-headers lint-editorconfig
.PHONY: lint
#/
# Lints source files.
#
# ## Notes
#
# - This rule supports the environment variables supported by each prerequisite.
# - This rule is useful when wanting to glob for source files (e.g., lint all source files for a particular package).
#
# @example
# make lint-src
#/
lint-src: lint-javascript-src lint-c-src
.PHONY: lint-src
#/
# Lints test files.
#
# ## Notes
#
# - This rule supports the environment variables supported by each prerequisite.
# - This rule is useful when wanting to glob for test files (e.g., lint all test files for a particular package).
#
# @example
# make lint-tests
#/
lint-tests: lint-javascript-tests
.PHONY: lint-tests
#/
# Lints examples files.
#
# ## Notes
#
# - This rule supports the environment variables supported by each prerequisite.
# - This rule is useful when wanting to glob for examples files (e.g., lint all examples files for a particular package).
#
# @example
# make lint-examples
#/
lint-examples: lint-javascript-examples lint-c-examples
.PHONY: lint-examples
#/
# Lints benchmark files.
#
# ## Notes
#
# - This rule supports the environment variables supported by each prerequisite.
# - This rule is useful when wanting to glob for benchmark files (e.g., lint all benchmark files for a particular package).
#
# @example
# make lint-benchmarks
#/
lint-benchmarks: lint-javascript-benchmarks lint-c-benchmarks lint-python-benchmarks lint-julia-benchmarks lint-r-benchmarks
.PHONY: lint-benchmarks