Sha256: a4e60a700e87c1c31ca8ddae5c28af7ef400f0433347a55fdad09347ad8401f4

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

difficulty 2
description "You want to include the files from the following repo: `https://github.com/jackmaney/githug-include-me` into a the folder `./githug-include-me`. Do this without manually cloning the repo or copying the files from the repo into this repo."

setup do
    repo.init
end

solution do
    return false if not File.directory?("./githug-include-me")
    return false if not File.exist?("./githug-include-me/README.md")
    return false if not File.exist?("./githug-include-me/.git")
    return false if File.directory?("./githug-include-me/.git")
    return false if not File.exist?(".gitmodules")

    return true
end

hint do
    puts "Take a look at `git submodule`."
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
githug-0.5.0 levels/submodule.rb