Skip to content

Instantly share code, notes, and snippets.

@markito3
Created January 3, 2019 22:06
Show Gist options
  • Save markito3/a92d83b150f495c4a43bacc5388b70b3 to your computer and use it in GitHub Desktop.
Save markito3/a92d83b150f495c4a43bacc5388b70b3 to your computer and use it in GitHub Desktop.
beginning of general tool to drive build_script actions
#!/usr/bin/env python
import argparse
import os
import subprocess
import sys
import xml.dom.minidom
print "type", "\"" + os.path.basename(__file__), "-h\" for usage message"
packageList = ["hdds", "sim-recon", "halld_recon", "halld_sim", "hdgeant4", "gluex_root_analysis"]
def new(args):
print("doing a new build")
def update(args):
print("updating an old build")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment