From 5ecc3e7cc923b4fdfdb4b6f468c85eb548461918 Mon Sep 17 00:00:00 2001 From: s2quake Date: Fri, 14 Jun 2024 19:40:37 +0900 Subject: [PATCH] chore: Remove build-related code and submodule --- .build | 1 - .gitmodules | 3 --- build.bat | 2 -- build.ps1 | 16 ---------------- build.sh | 2 -- 5 files changed, 24 deletions(-) delete mode 160000 .build delete mode 100644 build.bat delete mode 100644 build.ps1 delete mode 100644 build.sh diff --git a/.build b/.build deleted file mode 160000 index 26abf51..0000000 --- a/.build +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 26abf511f2a75aa02fc26a50ca87a755c436105c diff --git a/.gitmodules b/.gitmodules index f3f66d6..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "build"] - path = .build - url = ../build.git diff --git a/build.bat b/build.bat deleted file mode 100644 index a2dfbaa..0000000 --- a/build.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -powershell -executionpolicy remotesigned -File %~dp0\build.ps1 %* \ No newline at end of file diff --git a/build.ps1 b/build.ps1 deleted file mode 100644 index 30f226a..0000000 --- a/build.ps1 +++ /dev/null @@ -1,16 +0,0 @@ -param( - [string]$OutputPath = "", - [string]$Framework = "net8.0", - [string]$KeyPath = "", - [string]$LogPath = "", - [switch]$Pack -) - -$solutionPath = Join-Path $PSScriptRoot "communication.sln" -Resolve -$buildFile = Join-Path $PSScriptRoot ".build" "build.ps1" -Resolve -if ($Pack) { - & $buildFile $solutionPath -Pack -KeyPath "$KeyPath" -Sign -OutputPath "$OutputPath" -LogPath "$LogPath" -} -else { - & $buildFile $solutionPath -Publish -KeyPath $KeyPath -Sign -OutputPath $OutputPath -Framework $Framework -LogPath $LogPath -} diff --git a/build.sh b/build.sh deleted file mode 100644 index 356d6b4..0000000 --- a/build.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -pwsh -executionpolicy remotesigned -File $(dirname $0)/build.ps1 "$@" \ No newline at end of file