Skip to content

Commit

Permalink
feat: OSにあった拡張子を出力できるようにmakeを変更
Browse files Browse the repository at this point in the history
  • Loading branch information
xztaityozx committed Dec 2, 2023
1 parent 1d8e83b commit a3db6ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ $tests = Get-ChildItem '0*' | ForEach-Object {
Describe 'sel on PowerShell' {
It "sel -f <inputFile> <arguments> Returns <outputFile> (<name>)" -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;
}
}

0 comments on commit a3db6ec

Please sign in to comment.