Use right command

This commit is contained in:
Luke Murphy 2020-03-11 17:47:05 +01:00
parent 8ab74a15e2
commit fdb649a842
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -7,4 +7,4 @@ import subprocess
paths = [p for p in os.listdir(".") if os.path.isdir(p) and "Makefile" in os.listdir(p)] paths = [p for p in os.listdir(".") if os.path.isdir(p) and "Makefile" in os.listdir(p)]
for path in paths: for path in paths:
subprocess.run("cd {} && make html".format(path), shell=True) subprocess.run("cd {} && make publish".format(path), shell=True)