Git Product home page Git Product logo

Comments (9)

jhass avatar jhass commented on May 16, 2024

First of all install Crystal normally, http://crystal-lang.org/docs/installation/on_debian_and_ubuntu.html

You can download a statically compiled 64bit executable from https://github.com/ysbaddaden/shards/releases/tag/v0.4.0

If that doesn't fit your system, download the source tarball from above link and extract it, change into the directory and run make. That should produce a binary at bin/shards.

Either way make sure that binary is in your $PATH, for example by copying it to /usr/local/bin or a directory in your $HOME that you add to your $PATH in your .bashrc.

Once that's done go to your project and create a shard.yml as seen on the readme or further described in SPEC.md. Then just run shards install and you're ready to go.

from shards.

reggieb avatar reggieb commented on May 16, 2024

Thank you @jhass, that was exactly what I was looking for.

from shards.

reggieb avatar reggieb commented on May 16, 2024

Oh! I had to make a further tweak before it all started working. I was getting this error:

git command failed: git tag --list --no-column

It looks like the installed version of git (1.7) didn't support the --no-column option.

I fixed that by updating git to 2.5

from shards.

jhass avatar jhass commented on May 16, 2024

Bad luck I guess, looks like that was added with 1.7.11: git/git@d96e3c1

from shards.

reggieb avatar reggieb commented on May 16, 2024

Indeed! Mine was 1.7.9.5

from shards.

ysbaddaden avatar ysbaddaden commented on May 16, 2024

There is no such thing as a stupid question. Installation steps are indeed lacking. We'll eventually bundle Shards with Crystal distributions, so this should be simpler.

Thanks for the detailed installation steps @jhass!

Please open an issue about Git < 1.7.11 being unsupported (I'll open one otherwise). Maybe we can fix it, or at least fail with a nice error message, prompting to upgrade Git.

from shards.

jhass avatar jhass commented on May 16, 2024

I'd say we shouldn't support it, it's supported for more than 3 years by now.

from shards.

reggieb avatar reggieb commented on May 16, 2024

I've open a new issue #35

I agree with @jhass that it shouldn't be supported, but also with @ysbaddaden that a more meaningful error message would be helpful.

from shards.

reggieb avatar reggieb commented on May 16, 2024

Oh! And what about posting @jhass 's installation steps to this project's wiki?

from shards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.