From 314af56e8dc1eb9f71a70e6c1858e6f6021cf708 Mon Sep 17 00:00:00 2001 From: Ed Slocomb Date: Mon, 6 Nov 2023 18:02:09 -0800 Subject: [PATCH] move pnp-bin.js into formatters dir for simpler melpa recipe (#243) Gets all non-elisp dependencies into a single directory, `scripts/formatters` --- scripts/formatters/apheleia-npx | 4 ++-- scripts/{ => formatters}/pnp-bin.js | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{ => formatters}/pnp-bin.js (100%) diff --git a/scripts/formatters/apheleia-npx b/scripts/formatters/apheleia-npx index ab2ca5c3..8f6a3663 100755 --- a/scripts/formatters/apheleia-npx +++ b/scripts/formatters/apheleia-npx @@ -15,8 +15,8 @@ if (( "$#" == 0 )); then fi # location of this script -apheleia_dir="$(cd $(dirname ${BASH_SOURCE[0]})/../.. &>/dev/null && pwd)" -pnp_bin="${apheleia_dir}/scripts/pnp-bin.js" +scripts_dir="$(cd $(dirname ${BASH_SOURCE[0]}) &>/dev/null && pwd)" +pnp_bin="${scripts_dir}/pnp-bin.js" # This function prints the name of the current directory if it # contains a file or directory named after the first argument, or the diff --git a/scripts/pnp-bin.js b/scripts/formatters/pnp-bin.js similarity index 100% rename from scripts/pnp-bin.js rename to scripts/formatters/pnp-bin.js