mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
chore: move mkdir
call from node-package-cli.sh to Makefile (#1516)
This makes it more consistent with the other Makefile rules
This commit is contained in:
parent
71ebe047c6
commit
22be831535
1
Makefile
1
Makefile
@ -263,6 +263,7 @@ $(BUILD_DIRECTORY)/$(APPLICATION_NAME)-cli-$(APPLICATION_VERSION)-$(TARGET_PLATF
|
||||
$(BUILD_DIRECTORY)/node-$(TARGET_PLATFORM)-$(TARGET_ARCH)-dependencies \
|
||||
$(BUILD_DIRECTORY)/$(APPLICATION_NAME)-cli-$(TARGET_PLATFORM)-$(APPLICATION_VERSION)-$(TARGET_ARCH).js \
|
||||
| $(BUILD_DIRECTORY) $(BUILD_TEMPORARY_DIRECTORY)
|
||||
mkdir $@
|
||||
./scripts/build/node-package-cli.sh -o $@ -l $</node_modules \
|
||||
-n $(APPLICATION_NAME) \
|
||||
-e $(word 2,$^) \
|
||||
|
@ -61,7 +61,6 @@ if [ -z "$ARGV_APPLICATION_NAME" ] \
|
||||
usage
|
||||
fi
|
||||
|
||||
mkdir "$ARGV_OUTPUT"
|
||||
cp "$ARGV_ENTRY_POINT" "$ARGV_OUTPUT/index.js"
|
||||
|
||||
./scripts/build/dependencies-npm-extract-addons.sh \
|
||||
|
Loading…
x
Reference in New Issue
Block a user