Skip to content

Commit

Permalink
fix Windows and macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sauerbraten committed Dec 18, 2020
1 parent 173627e commit 9d99bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for:
only:
- image: Visual Studio 2019
before_build:
- (Get-Content src/engine/main.cpp) -replace '<git-dev>', (git describe) | Set-Content src/engine/main.cpp
- ps: (Get-Content src/engine/main.cpp) -replace '<git-dev>', (git describe) | Set-Content src/engine/main.cpp
build:
project: src/vcpp/sauerbraten.vcxproj
verbosity: minimal
Expand All @@ -22,7 +22,7 @@ for:
- image: macOS
before_build:
- cd src
- sed -i "s/<git-dev>/$(git describe)/" engine/main.cpp
- sed -i '' "s/<git-dev>/$(git describe)/" engine/main.cpp
build_script:
- make client
after_build:
Expand Down

0 comments on commit 9d99bf1

Please sign in to comment.