diff --git a/.sample/run.sh b/.sample/run.sh index 2f8fae1..06ada9b 100755 --- a/.sample/run.sh +++ b/.sample/run.sh @@ -1,18 +1,18 @@ #!/usr/bin/env sh BOLD='\033[0;1m' -printf "$${BOLD}Installing MODULE_NAME..." +printf "$${BOLD}Installing MODULE_NAME ...\n\n" # Add code here # Use varibles from the templatefile function in main.tf # e.g. LOG_PATH, PORT, etc. -echo "🥳 Installation comlete!" +printf "🥳 Installation comlete!\n\n" -echo "👷 Starting MODULE_NAME in background..." +printf "👷 Starting MODULE_NAME in background...\n\n" # Start the app in here # 1. Use & to run it in background # 2. redirct stdout and stderr to log files ./app >${LOG_PATH} 2>&1 & -echo "check logs at ${LOG_PATH}" +printf "check logs at ${LOG_PATH} \n\n" diff --git a/filebrowser/run.sh b/filebrowser/run.sh index b13e919..91bf368 100644 --- a/filebrowser/run.sh +++ b/filebrowser/run.sh @@ -5,17 +5,17 @@ printf "$${BOLD}Installing filebrowser \n\n" curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash -echo "🥳 Installation comlete! \n\n" +printf "🥳 Installation comlete! \n\n" -echo "👷 Starting filebrowser in background... \n\n" +printf "👷 Starting filebrowser in background... \n\n" ROOT_DIR=${FOLDER} ROOT_DIR=$${ROOT_DIR/\~/$HOME} -echo "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n" +printf "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n" -echo "Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT}' \n\n" +printf "Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT}' \n\n" filebrowser --noauth --root $ROOT_DIR --port ${PORT} >${LOG_PATH} 2>&1 & -echo "📝 Logs at ${LOG_PATH} \n\n" +printf "📝 Logs at ${LOG_PATH} \n\n" diff --git a/git-clone/main.tf b/git-clone/main.tf index 1d15dfe..c5a6d29 100644 --- a/git-clone/main.tf +++ b/git-clone/main.tf @@ -32,7 +32,7 @@ resource "coder_script" "git_clone" { REPO_URL : var.url, }) display_name = "Git Clone" - icon = "/icons/git.svg" + icon = "/icon/git.svg" run_on_start = true start_blocks_login = true } diff --git a/jetbrains-gateway/main.test.ts b/jetbrains-gateway/main.test.ts index 9385d13..ffd970f 100644 --- a/jetbrains-gateway/main.test.ts +++ b/jetbrains-gateway/main.test.ts @@ -1,8 +1,5 @@ import { describe } from "bun:test"; -import { - runTerraformInit, - testRequiredVariables, -} from "../test"; +import { runTerraformInit, testRequiredVariables } from "../test"; describe("jetbrains-gateway`", async () => { await runTerraformInit(import.meta.dir);