Skip to content
Snippets Groups Projects
Commit a628fa16 authored by steve-e's avatar steve-e
Browse files

Add simple build check script

parent 2ccaf5b2
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
import os
import sys
if os.getcwd().endswith('dev'):
os.chdir('../../') # we were in scripts/dev
ret1 = os.system("make clean > " + os.devnull + " 2>&1")
ret2 = os.system("make > " + os.devnull + " 2>&1")
if ret1 + ret2 == 0:
print "Build successfull"
sys.exit(0)
else:
print >>sys.stderr, "Build failed"
sys.exit(1)
# vim: se ts=3:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment