aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Slocomb <edslocomb@gmail.com>2023-11-06 18:02:09 -0800
committerGitHub <noreply@github.com>2023-11-06 18:02:09 -0800
commit314af56e8dc1eb9f71a70e6c1858e6f6021cf708 (patch)
treeef84b999b59a04a81aa6297c03ccc34857b9af33
parent54a192c3454e82be9d5ad910d80796b27d58035f (diff)
move pnp-bin.js into formatters dir for simpler melpa recipe (#243)
Gets all non-elisp dependencies into a single directory, `scripts/formatters` <!-- To expedite the pull request process, please see the contributor guide for my projects: <https://github.com/raxod502/contributor-guide> -->
-rwxr-xr-xscripts/formatters/apheleia-npx4
-rwxr-xr-xscripts/formatters/pnp-bin.js (renamed from scripts/pnp-bin.js)0
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/formatters/apheleia-npx b/scripts/formatters/apheleia-npx
index ab2ca5c..8f6a366 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
index b58c165..b58c165 100755
--- a/scripts/pnp-bin.js
+++ b/scripts/formatters/pnp-bin.js