Comments (5)
Please see the existing extensive discussions at crystal-lang/crystal#220, crystal-lang/crystal#1357 and #25 around the format.
from shards.
Ah. I had searched in this repo for something related to that and didn't find anything. I guess I should've looked in the crystal repo.
There's only one real brief mention of the Ruby gemspec in those discussions (well, I didn't read it all, but a quick search found only one result.)
Should I talk about this in crystal-lang/crystal#1357 ?
from shards.
There are several mentions of doing a Crystal based DSL and why that's not really preferable.
from shards.
Note that the version can be extracted from shard.yml
at compile time:
# src/version.cr
VERSION = {{ `egrep "^version:" "#{ __DIR__ }/shard.yml"`[8 .. -1].stringify.strip }}
Not pretty, but doable.
from shards.
We actually could think about compiler support for that once shards ships with it, have compile time access to the entire parsed shard.yml
from shards.
Related Issues (20)
- Concurrent installs fail with "Failed to clone" HOT 1
- shards build --mcpu causes lookup of CPU arch as a target incorrectly HOT 3
- Add Pijul resolver HOT 2
- [Website] Could statistics be added? HOT 2
- Windows: A required privilege is not held by the client HOT 3
- Shards installs wrong version of lucky HOT 6
- branch master not satisfy condition >= HOT 5
- Tell why upgrading more
- Inconsistency in `~> x.y.z` requirement with pre-release HOT 1
- Unable to resolve dependency with pre-release version HOT 5
- Refactor resolver code
- `shards remove` command
- Prune command fails to remove symlink HOT 1
- Notify users of deprecated/outdated package HOT 8
- Different behavior between `shards run` and `crystal run` HOT 3
- Installed version in `lib` does not match version in `shard.lock` HOT 3
- verbose option should output also out and err from postinstall script
- `--local` flag doesn't respect CRYSTAL_PATH HOT 3
- FR: Option for out-of-source builds HOT 4
- Equivalent of "go mod vendor"? HOT 2
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 shards.