diff --git a/.mise-env.sh b/.mise-env.sh new file mode 100644 index 0000000..a0bac68 --- /dev/null +++ b/.mise-env.sh @@ -0,0 +1,5 @@ +#! /usr/bin/env bash + +pyDir="$(dirname "$(which python3)")" +export PYTHONPATH="$(find "$pyDir" -name site-packages):$pyDir:$(find "$pyDir" -name lib-dynload)" +#export DOTNET_ROOT="$(dirname "$(realpath "$(which dotnet)")")" diff --git a/Packages/manifest.json b/Packages/manifest.json index eea9490..1249495 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -5,6 +5,7 @@ "com.unity.inputsystem": "1.14.0", "com.unity.multiplayer.center": "1.0.0", "com.unity.timeline": "1.8.7", + "com.unity.toolchain.linux-x86_64": "2.0.11", "com.unity.ugui": "2.0.0", "com.unity.visualscripting": "1.9.6", "com.unity.modules.accessibility": "1.0.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 9d44811..f073d7a 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -82,6 +82,22 @@ "dependencies": {}, "url": "https://packages.unity.com" }, + "com.unity.sysroot": { + "version": "2.0.10", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.sysroot.linux-x86_64": { + "version": "2.0.9", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.sysroot": "2.0.10" + }, + "url": "https://packages.unity.com" + }, "com.unity.test-framework": { "version": "1.5.1", "depth": 1, @@ -114,6 +130,16 @@ }, "url": "https://packages.unity.com" }, + "com.unity.toolchain.linux-x86_64": { + "version": "2.0.11", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.sysroot": "2.0.10", + "com.unity.sysroot.linux-x86_64": "2.0.9" + }, + "url": "https://packages.unity.com" + }, "com.unity.ugui": { "version": "2.0.0", "depth": 0, diff --git a/README.md b/README.md new file mode 100644 index 0000000..300bcbe --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Manual Intervention Required + +## Brainstorming Doc + +[Google Drive Link](https://docs.google.com/document/d/1nRMxDnu7cnvAqurH0fo8vcYVc0hh1Uye-O7UulZAZXE/edit?usp=sharing_eip_se_dm&ts=69acb46d) + +## Kanban Board + +[Vikunja on todo.zmoix.com](https://todo.zmoix.com/projects/7/25) diff --git a/mise.toml b/mise.toml index 376d847..a0ea1a6 100644 --- a/mise.toml +++ b/mise.toml @@ -1,10 +1,17 @@ [tools] cmake = "latest" -dotnet = "latest" -python = "latest" +#dotnet = "latest" +#python = "latest" [tasks.setup-linux-arch] -run = 'paru -S mono git vim-youcompleteme-git mono-msbuild; touch "${MISE_PROJECT_ROOT}"/.sln' +run = "set -x; echo paru -S mono git vim-youcompleteme-git mono-msbuild omnisharp-vim-git dotnet-runtime dotnet-sdk dotnet-host msbuild msbuild-sdkresolver libuv; if ! which pip3; then wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py; python3 /tmp/get-pip.py --break-system-packages; fi; python3 -m pip install watchdog --break-system-packages; touch \"${MISE_PROJECT_ROOT}\"/.sln; py3=\"$(which python3)\"; grep -qs \"$py3\" \"$HOME/.vimrc\" || printf \"\\nlet g:ycm_server_python_interpreter = '$py3'\\nlet g:ycm_python_binary_path = '$py3'\\n\" >> \"$HOME/.vimrc\"; omnisharp=\"$(which omnisharp)\"; grep -qs \"$omnisharp\" \"$HOME/.vimrc\" || printf \"\\nlet g:OmniSharp_server_path = '$omnisharp'\\nfiletype plugin indent on\\n\" >> \"$HOME/.vimrc\";" [tasks.test-run-csharp] -run = 'dotnet new console -n dotnet-test && dotnet run --project=./dotnet-test && ls dotnet-test/*.cs' +run = '(test -d ./dotnet-test || dotnet new console -n dotnet-test) && dotnet run --project=./dotnet-test && ls dotnet-test/*.cs' + +[tasks.default] +run = 'mise run test-run-csharp' + +[env] +_.source = { path = "./.mise-env.sh", tools = true } +DOTNET_CLI_TELEMETRY_OPTOUT = "1"