From a3db6ec0bd08681764a5ff7496eec0c8f8ef1467 Mon Sep 17 00:00:00 2001 From: xztaityozx Date: Sat, 2 Dec 2023 12:17:57 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20OS=E3=81=AB=E3=81=82=E3=81=A3=E3=81=9F?= =?UTF-8?q?=E6=8B=A1=E5=BC=B5=E5=AD=90=E3=82=92=E5=87=BA=E5=8A=9B=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=ABmake=E3=82=92?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- test/e2e/test.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bdc386e..4aa6fb1 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ clean: $(EXECUTABLE_FILE): @mkdir -p $(@D) - @go build -o $(EXECUTABLE_FILE) -ldflags="-s -w -X github.com/xztaityozx/sel/cmd.Version=develop($(shell git rev-parse HEAD))" + @go build -o $(DIST_DIR) -ldflags="-s -w -X github.com/xztaityozx/sel/cmd.Version=develop($(shell git rev-parse HEAD))" .PHONY: build build: $(EXECUTABLE_FILE) diff --git a/test/e2e/test.ps1 b/test/e2e/test.ps1 index 7ed3724..136dd18 100644 --- a/test/e2e/test.ps1 +++ b/test/e2e/test.ps1 @@ -17,6 +17,6 @@ $tests = Get-ChildItem '0*' | ForEach-Object { Describe 'sel on PowerShell' { It "sel -f Returns ()" -ForEach $tests { $expected = Get-Content -Encoding utf8 $outputFile; - Invoke-Expression "../../../dist/sel -f $inputFile $arguments" | Should -Be $expected; + Invoke-Expression "Get-Content -Encoding utf8 $inputFile | ../../../dist/sel.exe $arguments" | Should -Be $expected; } }