-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (31 loc) · 853 Bytes
/
Makefile
File metadata and controls
36 lines (31 loc) · 853 Bytes
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
#
# Copyright 2019 Joyent, Inc.
# Copyright 2023 MNX Cloud, Inc.
#
#
# Vars, Tools, Files, Flags
#
JS_FILES := bin/prr lib/prr.js
ESLINT = ./node_modules/.bin/eslint
ESLINT_FILES = $(JS_FILES)
CLEAN_FILES += ./node_modules
#
# Makefile.defs defines variables used as part of the build process.
# Ensure we have the eng submodule before attempting to include it.
#
ENGBLD_REQUIRE := $(shell git submodule update --init deps/eng)
ENGBLD_SKIP_VALIDATE_BUILDENV = true
include ./deps/eng/tools/mk/Makefile.defs
TOP ?= $(error Unable to access eng.git submodule Makefiles.)
#
# Repo-specific targets
#
.PHONY: install
install:
npm install
check:: package.json $(JS_FILES)
#
# Target definitions. This is where we include the target Makefiles for
# the "defs" Makefiles we included above.
#
include ./deps/eng/tools/mk/Makefile.targ