Skip to content

Commit

Permalink
Removed unused node_repo_args.sh file
Browse files Browse the repository at this point in the history
  • Loading branch information
Silic0nS0ldier committed Dec 6, 2023
1 parent 330d148 commit 1d62185
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions lib/private/repositories/nodejs_download/impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -322,17 +322,6 @@ def _prepare_node(repository_ctx):
""").format(node = node_bin_relative, args = node_args),
)

# Shell script to set repository arguments for node used by nodejs_binary & nodejs_test launcher
repository_ctx.file(
"bin/node_repo_args.sh",
content = dedent("""
#!/usr/bin/env bash
# Immediately exit if any command fails.
set -e
# Generated by node_repositories.bzl
export NODE_REPOSITORY_ARGS="{args}"
""").format(args = node_args), executable = True)

# The entry points for npm for osx/linux and windows
# Runs npm using appropriate node entry point
# --scripts-prepend-node-path is set to false since the correct paths
Expand Down Expand Up @@ -443,8 +432,7 @@ def _prepare_node(repository_ctx):
package(default_visibility = ["//visibility:public"])
exports_files([
"run_npm.sh.template",
"run_npm.bat.template",
"bin/node_repo_args.sh",{node_bin_export}{npm_bin_export}{npx_bin_export}{yarn_bin_export}
"run_npm.bat.template",{node_bin_export}{npm_bin_export}{npx_bin_export}{yarn_bin_export}
"{node_entry}",
"{npm_entry}",
"{yarn_entry}",
Expand Down

0 comments on commit 1d62185

Please sign in to comment.