aboutsummaryrefslogtreecommitdiff
path: root/hooked
diff options
context:
space:
mode:
authorMichael Gattozzi <mgattozzi@gmail.com>2020-01-02 11:18:35 -0500
committerMichael Gattozzi <mgattozzi@gmail.com>2020-01-02 11:18:35 -0500
commitf768dacbdb148a9c4e846d7b113d9aea37d563c5 (patch)
tree739c370b868fc46a150e337a4341f116f061d487 /hooked
parent1a6669988ab8a896f04c184cd8b4d63f1b3a0c8f (diff)
Cleanup ds install and format hooked properly
This cleans up the ds install command to use namespaced folders on digital ocean to hold assets. This will make it easier to install things in the future if we break it down by version, but really it just makes it easier to not have to do weird splitting logic to choose the right tool and download and install it. For some reason hooked was also not formatted properly when rustfmt was run on OSX so this was fixed to make the build not break.
Diffstat (limited to 'hooked')
-rw-r--r--hooked/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/hooked/src/main.rs b/hooked/src/main.rs
index 1c8388e..573061c 100644
--- a/hooked/src/main.rs
+++ b/hooked/src/main.rs
@@ -121,7 +121,7 @@ fn init(lang: Language) -> Result<()> {
wrapper.write_all(
format!(
"#!C:\\Program Files\\Git\\bin\\sh.exe\n\
- bash.exe .dev-suite/hooked/{}.sh\n",
+ bash.exe .dev-suite/hooked/{}.sh\n",
hook
)
.as_bytes(),
@@ -132,7 +132,7 @@ fn init(lang: Language) -> Result<()> {
wrapper.write_all(
format!(
"#!C:\\Program Files\\Git\\bin\\sh.exe\n\
- py.exe .dev-suite/hooked/{}.py\n",
+ py.exe .dev-suite/hooked/{}.py\n",
hook
)
.as_bytes(),
@@ -143,7 +143,7 @@ fn init(lang: Language) -> Result<()> {
wrapper.write_all(
format!(
"#!C:\\Program Files\\Git\\bin\\sh.exe\n\
- ruby.exe .dev-suite/hooked/{}.rb\n",
+ ruby.exe .dev-suite/hooked/{}.rb\n",
hook
)
.as_bytes(),