Skip to content

Commit

Permalink
Add dotnet restore to tasks.py, update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
branchpanic committed Sep 11, 2022
1 parent 099ce02 commit ac9e3b5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
- Reduced field spacing and scaled down some elements
- Reduced default and minimum window sizes

### Known Issues

- Glitchy resizing (window lags, blue artifacts sometimes appear?) on Linux
- Issues from 22.04.01 remain

## [22.04.01]

### Changes
Expand Down
7 changes: 7 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def fetch_ffmpeg(c, runtime: str) -> str:

@task
def clean(c):
# Building from Windows and then WSL can result in broken packages
c.run("dotnet restore")

c.run("dotnet clean -p:PublishSelfContained=false")

for script_path in (TEMP, DIST):
Expand Down Expand Up @@ -133,6 +136,10 @@ def dist(c, runtime=""):
ffmpeg_path = fetch_ffmpeg(c, runtime)

print_step(f"Building for {runtime}")

# Building from Windows and then WSL can result in broken packages
c.run("dotnet restore")

if runtime == "win-x64":
shutil.rmtree(f"dist/vdcrpt-win-x64", ignore_errors=True)
c.run(
Expand Down

0 comments on commit ac9e3b5

Please sign in to comment.