antimony-lang 0.7.0

The Antimony programming language
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import subprocess
import os
import time

os.system("mdbook build --dest-dir './book'")
os.system("mdbook build --dest-dir './book/latest'")
tags = subprocess.run(["git", "tag"], stdout=subprocess.PIPE).stdout.decode('utf-8')
for tag in tags.split("\n"):
    if tag == "":
        continue
    print("Building tag", tag)
    os.system("git checkout " + tag)
    time.sleep(1)
    os.system("mdbook build --dest-dir './book/" + tag + "'")