Giter Club home page Giter Club logo

Comments (9)

TheHippo avatar TheHippo commented on May 30, 2024

How about: https://gist.github.com/TheHippo/5188116

Feel free to fork and edit.

from haxelib.

MattTuttle avatar MattTuttle commented on May 30, 2024

I forked and added dependencies to your example json. https://gist.github.com/MattTuttle/5189540

from haxelib.

TheHippo avatar TheHippo commented on May 30, 2024

I realised that I forgot the dependencies and updated my gist. I like my declaration better, because:

  • it's shorter
  • it's more semver-ish
  • it's more like people are know it from npm (and other probably other package managers)

from haxelib.

MattTuttle avatar MattTuttle commented on May 30, 2024

That seems better so I updated my pull request to support that syntax and allow a wildcard (*) to be used.

from haxelib.

jasononeil avatar jasononeil commented on May 30, 2024

Nice work.

I'm happy with that format.
On Mar 19, 2013 2:49 AM, "Matt Tuttle" [email protected] wrote:

That seems better so I updated my pull request to support that syntax and
allow a wildcard (*) to be used.


Reply to this email directly or view it on GitHubhttps://github.com/back2dos/haxelib/issues/1#issuecomment-15073862
.

from haxelib.

Dr-Emann avatar Dr-Emann commented on May 30, 2024

Minor issue I have, with dependancies, you use an asterisk for any version, but an x for subversions:
"other-project": "*" vs "specific-project": "1.2.x". Is there any reason we can't use an asterisk for subversion specifications too, like "specific-project": "1.2.*" or "specific-project": "1.*"

from haxelib.

back2dos avatar back2dos commented on May 30, 2024

I think the general idea here is to be compliant with npm's node-semver.

In all honesty, I think these add too much complexity, but more of that in the semver issue.

from haxelib.

TheHippo avatar TheHippo commented on May 30, 2024

@Dr-Emann: Yes @back2dos is right. The idea behind this was to be close the node package specs. It is proven to work and some people might already know how it works.

from haxelib.

Dr-Emann avatar Dr-Emann commented on May 30, 2024

@back2dos brought up a good point in the IRC chat, some of this stuff could definitely be moved out of the json. Contributors/User should be done via the web interface or command line, since it doesn't apply to the individual version. There's no reason to have to release a new version of a haxelib to add a contributor.

from haxelib.

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.