ziprandom / crystal-dfa

A Crystal Implementation of a Thompson NFA/DFA Regex Matcher
MIT License
19 stars 3 forks source link

Shard does not install using the example from README.md #3

Open SeedyROM opened 6 years ago

SeedyROM commented 6 years ago

Trying to run shards install on my shard.yml fails when I have the crystal-dfa added as a dependency.

shard.yml:

# Default config...
dependencies:
  crystal-dfa:
    github: ziprandom/crystal-dfa
# Other dependencies...

$ shards install:

Fetching https://github.com/ziprandom/crystal-dfa.git
Installing crystal-dfa (0.4.1)
Failed git ls-tree -r --full-tree --name-only  -- shard.yml (). Maybe a commit, branch or file doesn't exist?

(Not entirely sure what that error even means, sorry if I'm completely clueless!)

I'm just playing around with parser generators in my new favorite language!

jrester commented 5 years ago

I got the same error when first installing cltk, removing it and adding crystal-dfa to dependencies, but deleting shard.lock fixed that error.

It seems to be an issue with the version tag as it is mentioned here.