rgl 0.2.0

Safe thin wrapper for OpenGL using the gl-rs crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Script to chek if the examples build 
# As a side effect, it also checks if rgl builds

import os 
from subprocess import run

def check():
    run(['cargo', 'check'])

os.chdir("Examples/")

for dir in os.listdir("."):
    os.chdir(dir + "/")
    print ("\n" + "=" * 20)
    print ("Checking example: " + dir, end = "\n\n")
    check()
    os.chdir("..")