Commit 11a2e627 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

working on same-stage dependencies

parent 8d9a72ae
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5,10 +5,11 @@ prebuild_lab_0:
    - # check that lab0.cpp exists
    - |
      if [ ! -f "lab0.cpp" ]; then
        echo "lab0.cpp" does not exist
        echo "lab0.cpp does not exist";
        exit 1;
      fi
    - |  # check that lab-1.cpp has been merged (i.e., accepted) into master
      
      # check that lab-1.cpp has been merged (i.e., accepted) into master
      git ls-tree -r origin/master --name-only
      if git ls-tree -r origin/master --name-only | grep -q 'lab-1.cpp'; then
        echo "Lab -1 complete";