nskins / goby

Command-line role-playing game framework
MIT License
122 stars 56 forks source link

Add detection of project folders #140

Closed zhisme closed 5 years ago

zhisme commented 5 years ago

Hello there. I had been exploring the project when I came across an issue.

If you run commands in the following sequence you will get:

$: bin/goby
$: rspec
Failures:

  1) Goby::Scaffold simple should create the appropriate directories & files
     Failure/Error: Dir.mkdir project

     Errno::EEXIST:
       File exists @ dir_s_mkdir - goby-project
     # ./lib/goby/scaffold.rb:14:in `mkdir'
     # ./lib/goby/scaffold.rb:14:in `simple'
     # ./spec/goby/scaffold_spec.rb:10:in `block (3 levels) in <top (required)>'

Finished in 0.19554 seconds (files took 0.34735 seconds to load)
308 examples, 1 failure

After investigating what was that I found a TODO tag in a file. So I think a bit of clearance will not harm 😃

nskins commented 5 years ago

Cool, thank you! Although, you'll need to update the destination branch to 0.2.1 as I do not accept pull requests directly to master.

zhisme commented 5 years ago

@nskins changed to 0.2.1 😉