aboutsummaryrefslogtreecommitdiffstats
path: root/bin/formatjson.ps1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/formatjson.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/formatjson.ps1 b/bin/formatjson.ps1
new file mode 100644
index 0000000..2766bbc
--- /dev/null
+++ b/bin/formatjson.ps1
@@ -0,0 +1,4 @@
+if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
+$formatjson = "$env:SCOOP_HOME/bin/formatjson.ps1"
+$path = "$PSScriptRoot/../bucket" # checks the parent dir
+& $formatjson -Dir $path @Args