FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
secureCodeBox/sdk.mk at main · leviwest1615-dev/secureCodeBox · GitHub
leviwest1615-dev
/
secureCodeBox
Public
forked from
secureCodeBox/secureCodeBox
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
secureCodeBox
/
sdk.mk
Copy path
More file actions
More file actions
Latest commit
History
History
History
41 lines (34 loc) · 1.11 KB
Breadcrumbs
secureCodeBox
/
sdk.mk
Copy path
File metadata and controls
41 lines (34 loc) · 1.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#
!/usr/bin/make -f
#
#
SPDX-FileCopyrightText: the secureCodeBox authors
#
#
SPDX-License-Identifier: Apache-2.0
#
#
#
This include is a base for all SDK make files.
name
= ${sdk}
module
= ${sdk}
include
../../test-base.mk
include
../../env-paths.mk
#
Telling the env-paths file where the root project dir is. This is done to allow the generation of the paths of the
#
different project folders relative to where the makefile is being run from. So BIN_DIR= $(PROJECT_DIR)/bin will be
#
BIN_DIR=../../bin
PROJECT_DIR
=../..
.PHONY
: docker-build
docker-build
: | docker-build-sdk
.PHONY
: docker-export
docker-export
: | docker-export-sdk
.PHONY
: kind-import
kind-import
: | kind-import-sdk
.PHONY
: docker-build-sdk
docker-build-sdk
:
@echo
"
.: ⚙️ Build '
$(
name
)
'.
"
docker build -t
$(
IMG_NS
)
/
$(
name
)
-nodejs:
$(
IMG_TAG
)
.
.PHONY
: docker-export-sdk
docker-export-sdk
:
@echo
"
.: ⚙️ Build '
$(
name
)
'.
"
docker save
$(
IMG_NS
)
/
$(
name
)
-nodejs:
$(
IMG_TAG
)
-o
$(
name
)
.tar
.PHONY
: kind-import-sdk
kind-import-sdk
:
@echo
"
.: 💾 Importing the image archive '
$(
name
)
.tar' to local kind cluster.
"
kind load image-archive ./
$(
name
)
.tar
Back
|
FazBrowse Home
|
New Git URL