Added plugins and build tools

This commit is contained in:
2021-12-09 00:58:28 +01:00
parent a0d68a606c
commit eefe53a438
46 changed files with 4049 additions and 1 deletions

View File

@ -85,6 +85,8 @@ class Environment
return;
}
chdir($this->config['project_dir']);
// $this->logger->info("Loading environment...");
$preloads = [];
$root = $this->config['project_dir'];

View File

@ -26,6 +26,8 @@ function askString(string $prompt, ?string $default=null) {
}
printf("\n%s\n\e[1mSpark\e[0m Installer\n%s\n\n", str_repeat("\u{2500}",40), str_repeat("\u{2500}", 40));
$destination = askString("Installation directory", getenv("HOME")."/opt/spark");
$binaries = askString("Path for executables", getenv("HOME")."/bin");
if (!is_dir($destination)) {