Commit 534b3e58 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

working on same-stage dependencies

parent d573361c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
prebuild_lab_0:
  stage: lab0
  script:
    - |
      if git ls-tree -r master --name-only | grep -q 'lab-1.cpp'; then
    - |  # check that lab-1.cpp has been merged (i.e., accepted) into master
      if git ls-tree -r origin/master --name-only | grep -q 'lab-1.cpp'; then
        echo "Lab -1 complete";
      else
        echo "Please complete lab -1 first";