forked from varia/varia.website
Format publisher
This commit is contained in:
parent
88444f13c7
commit
6b074946f7
9
publish
9
publish
@ -4,14 +4,7 @@ import os
|
||||
import os.path
|
||||
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:
|
||||
print("-------------------------------------------------------------------")
|
||||
print("-------------------------------------------------------------------")
|
||||
print("-------------------------------------------------------------------")
|
||||
print("Building in {0}".format(path))
|
||||
subprocess.run("cd {} && make html".format(path), shell=True)
|
||||
print("-------------------------------------------------------------------")
|
||||
print("-------------------------------------------------------------------")
|
||||
print("-------------------------------------------------------------------")
|
||||
|
Loading…
Reference in New Issue
Block a user