Initial commit

Setup script and other things
This commit is contained in:
Booklordofthedings 2024-12-21 18:40:27 +01:00
parent cbf395cd3c
commit 7ba7513c22
5 changed files with 42 additions and 0 deletions

7
BeefProj.toml Normal file
View file

@ -0,0 +1,7 @@
FileVersion = 1
Dependencies = {corlib = "*", Aven = {Git = "https://code.booklordofthe.dev/Booklordofthedings/Aven"}}
[Project]
Name = "aven-ly"
TargetType = "BeefLib"
StartupObject = "aven_ly.Program"

5
Setup/.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
# ---> Beef
build/
recovery/
BeefSpace_User.toml

5
Setup/BeefProj.toml Normal file
View file

@ -0,0 +1,5 @@
FileVersion = 1
[Project]
Name = "Setup"
StartupObject = "Setup.Program"

5
Setup/BeefSpace.toml Normal file
View file

@ -0,0 +1,5 @@
FileVersion = 1
Projects = {Setup = {Path = "."}}
[Workspace]
StartupProject = "Setup"

20
Setup/src/Program.bf Normal file
View file

@ -0,0 +1,20 @@
namespace Setup;
using System;
using System.Diagnostics;
class Program
{
public static void Main()
{
var repoURL = "https://code.booklordofthe.dev/Booklordofthedings/ly-design";
ProcessStartInfo info = scope .();
SpawnedProcess process = scope .();
info.SetFileNameAndArguments(scope $"git clone {repoURL}");
info.ActivateWindow = true;
info.UseShellExecute = false;
process.Start(info);
}
}