mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-01 20:42:01 +02:00
moving file mv level to unused
This commit is contained in:
parent
4a754cfe4e
commit
d80db31d19
2 changed files with 0 additions and 1 deletions
levels/unused
27
levels/unused/files-move
Normal file
27
levels/unused/files-move
Normal file
|
@ -0,0 +1,27 @@
|
|||
title = No sleep required
|
||||
cards = file-new file-delete file-rename
|
||||
|
||||
[description]
|
||||
|
||||
Actually, you decide that you don't need any sleep.
|
||||
|
||||
Because of that, you won't require a bed, and can build some other piece of furniture from the wood!
|
||||
|
||||
|
||||
[setup]
|
||||
|
||||
echo A yellow cupboard with lots of drawers. > cupboard
|
||||
echo A really big yellow shelf. > shelf
|
||||
echo A comfortable, yellow bed with yellow cushions. > bed
|
||||
|
||||
[win]
|
||||
|
||||
# Rename the bed into something else, and give it a new description!
|
||||
NUM_FILES="$(ls | wc -l)"
|
||||
! test -f bed && test "$NUM_FILES" -ge 3 && ! grep -r "yellow bed" .
|
||||
|
||||
[congrats]
|
||||
|
||||
Neat! It even still looks a bit comfortable!
|
||||
|
||||
You head out, eager for your first lesson at time travel school!
|
Loading…
Add table
Add a link
Reference in a new issue