From e76b3561bf60f62afcf4a4d667492beb85f35f85 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:45:08 +0200 Subject: Revert "Backend: Add unimined build system (#1456)" This reverts commit 40309bc8acb7afb37bbc99d7a758c24ffd962b4c. --- buildSrc/src/EnvFile.kt | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 buildSrc/src/EnvFile.kt (limited to 'buildSrc/src/EnvFile.kt') diff --git a/buildSrc/src/EnvFile.kt b/buildSrc/src/EnvFile.kt deleted file mode 100644 index 76d6fa959..000000000 --- a/buildSrc/src/EnvFile.kt +++ /dev/null @@ -1,12 +0,0 @@ -import java.io.File - -fun parseEnvFile(file: File): Map { - if (!file.exists()) return mapOf() - val map = mutableMapOf() - for (line in file.readText().lines()) { - if (line.isEmpty() || line.startsWith("#")) continue - val parts = line.split("=", limit = 2) - map[parts[0]] = parts.getOrNull(1) ?: "" - } - return map -} -- cgit