Comments (5)
I've written up a JSON Schema for the haxelib.json file here. I've used examples I've found, and the haxelib source code to get my best guess at what is available/required, etc. If I'm missing anything or anything is wrong, corrections gladly accepted.
As a note: the haxelib program does not seem to require a description, but it does require a releasenote. I didn't think that was right, so I made both required.
from haxelib.
Looks good, left my comment on the gist.
from haxelib.
Maybe we should include the schema into the haxelib repo, that way if/when we make changes, the changes to the schema will be tracked with git too.
from haxelib.
That sounds like a good idea to me.
It would be nice to have a Haxe validator. An alternative approach to
porting the JS version would be to re-do the schema as typedefs (and some
metadata for anything that can't be expressed in plain Haxe syntax), and
then you have a macro validator that gives you a strongly typed object on
the other side.
A man can dream :) For now, I'll include the file in the repo.
Jason
On Wed, Jun 12, 2013 at 8:25 PM, Zachary Dremann
[email protected]:
Maybe we should include the schema into the haxelib repo, that way if/when
we make changes, the changes to the schema will be tracked with git too.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-19322117
.
from haxelib.
It's in the repo. I'm still a fan of the macro validator, but maybe next time.
from haxelib.
Related Issues (20)
- Better handling of run script ndll paths
- Lose hx3compat dependency HOT 2
- lib.haxe.org is down HOT 1
- Define lib.name HOT 10
- Support SPDX license identifiers HOT 3
- Request to remove library from lib.haxe.org HOT 6
- haxelib install hxcpp failed with error: Blocking HOT 2
- Request to delete library HOT 2
- `haxelib` throws an exception when installing any library
- Error: Failed with error: Http Error #502 when submitting .zip file HOT 1
- Run haxelib main relative to classpath
- SQL query leak
- Misleading instructions HOT 1
- Local repositories break with libraries which use native C++ files HOT 6
- change password request HOT 3
- Migrate away from mysql 5.7 HOT 2
- std@sys_remove_dir when trying to install git library with specific branch HOT 2
- I want to rename a lib HOT 2
- Dont spam the terminal on download HOT 1
- Allow .dev package versions to have relative paths
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haxelib.