aboutsummaryrefslogtreecommitdiff
path: root/.scripts/boil
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/boil')
-rwxr-xr-x.scripts/boil27
1 files changed, 0 insertions, 27 deletions
diff --git a/.scripts/boil b/.scripts/boil
deleted file mode 100755
index 0805147..0000000
--- a/.scripts/boil
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env sh
-
-mode="$1"
-name="$2"
-boilerplates="$HOME/.boilerplates"
-
-if [ "${mode}" = "" ] || [ "${name}" = "" ]; then
- echo "Not enough parameters"
- exit 1
-fi
-
-if [ "${mode}" = "clj" ]; then
- lein new app "$name"
- cp "$boilerplates/$mode/run" "$name"
- rm -rf "$name/CHANGELOG.md" "$name/LICENSE" "$name/README.md" "$name/doc/"
-elif [ "${mode}" = "md" ] || [ "${mode}" = "ms" ]; then
- cp "$boilerplates/txt/$mode.$mode" "$name.$mode"
-elif [ "${mode}" = "run" ]; then
- cp "$boilerplates/txt/run" run
-elif [ "${mode}" = "cs" ]; then
- mkdir -p "$name"
- cd "$name" || exit 1
- dotnet new console
- cp "$boilerplates/cs/run" run
-else
- cp -r "$boilerplates/$mode" "$name" || echo "Something went wrong"
-fi