Sha256: 4e7d438cba49dc5f57b9119bdd1bce04a6e08d2eb4e3bab64486326b57cbbf49

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

difficulty 2
description "You want to include the files from the following repo: `https://github.com/jackmaney/githug-include-me` into 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
mygithug-0.5.1 levels/submodule.rb