Giving up on trying to ignore selective parts of demo directory
This commit is contained in:
parent
4972f28a03
commit
2bc245fd61
|
@ -1,6 +1,5 @@
|
|||
games/*
|
||||
!games/README.md
|
||||
demo/
|
||||
#demo
|
||||
!demo/README.md
|
||||
!demo/move
|
||||
!demo/move/*
|
|
@ -0,0 +1,16 @@
|
|||
The `move` directory gives a complete demonstration game, one move per file.
|
||||
|
||||
An entire example game repository can then be build from these moves:
|
||||
|
||||
```
|
||||
mkdir git
|
||||
cd git
|
||||
git init
|
||||
for i in ../move/*; do \
|
||||
echo cp $i board \; \
|
||||
git add board \; \
|
||||
git commit -m \
|
||||
\""Applying move #" $(basename $i .md)\"; \
|
||||
done | sh
|
||||
cd ..
|
||||
```
|
Loading…
Reference in New Issue