Skip to content

Commit a0b8e54

Browse files
committed
Use executable file made in tox running for windows
Signed-off-by: Jaekwon Bang <[email protected]>
1 parent 2a9946f commit a0b8e54

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@ deps =
5959
commands =
6060
# Test for PEP8
6161
pytest -v --flake8
62+
# Test for making excutable file
63+
pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --add-binary "src\fosslight_dependency\third_party\askalono\askalono.exe;third_party\askalono"
6264
# Test for Maven (without optional command)
63-
fosslight_dependency.exe -p tests\test_maven1\lombok.maven -o tests\result\maven1
65+
{toxinidir}\dist\cli.exe -p tests\test_maven1\lombok.maven -o tests\result\maven1
6466
# Test for Maven (with optional command)
65-
fosslight_dependency.exe -p tests\test_maven2 -o tests\result\maven2 -m maven
67+
{toxinidir}\dist\cli.exe -p tests\test_maven2 -o tests\result\maven2 -m maven
6668
# Test for Gradle
67-
fosslight_dependency.exe -p tests\test_gradle\jib -o tests\result\gradle -m gradle
69+
{toxinidir}\dist\cli.exe -p tests\test_gradle\jib -o tests\result\gradle -m gradle
6870
# Test for Pub
69-
fosslight_dependency.exe -p tests\test_pub -o tests\result\pub
71+
{toxinidir}\dist\cli.exe -p tests\test_pub -o tests\result\pub

0 commit comments

Comments
 (0)