Sha256: 3d92b39c0a9321341fc08ef33042dd4d69548bf38db7e576922f32a935b7a6b4
Contents?: true
Size: 649 Bytes
Versions: 268
Compression:
Stored size: 649 Bytes
Contents
#!/usr/bin/env bash set -e source test/setup use Test::More clone-foo-and-bar ( cd $OWNER/foo git subrepo --quiet clone ../../../$UPSTREAM/bar ) test-exists \ "$OWNER/foo/bar/bard/" export XYZ=1 is "$( cd $OWNER/foo git subrepo --force clone ../../../$UPSTREAM/bar )" \ "Subrepo 'bar' is up to date." \ "No reclone if same commit" ( cd $OWNER/foo git subrepo --quiet clone --force ../../../$UPSTREAM/bar --branch=refs/tags/A ) test-exists \ "!$OWNER/foo/bar/bard/" ( cd $OWNER/foo git subrepo --quiet clone -f ../../../$UPSTREAM/bar --branch=master ) test-exists \ "$OWNER/foo/bar/bard/" done_testing teardown
Version data entries
268 entries across 268 versions & 4 rubygems