Files
codeql/csharp/ql/integration-tests/all-platforms/dotnet_pack/test.py
2022-09-21 11:03:45 +02:00

9 lines
301 B
Python

import os
from create_database_utils import *
run_codeql_database_create(['dotnet pack'], test_db="default-db", db=None, lang="csharp")
## Check that the NuGet package is created.
if not os.path.isfile("bin/Debug/dotnet_pack.1.0.0.nupkg"):
raise Exception("The NuGet package was not created.")