many many many Varia's websites, work in progress:
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
246 B

#!/usr/bin/env python3
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)]
for path in paths:"cd {} && make publish".format(path), shell=True)