Closed
Description
Currently Shards is a dependency manager rather than a project manager and I see several disadvantages in this. Here are a few of my thoughts:
- If we want to have things like Add run command #298 and Add a fallback to alternate shards commands #202 then it's just not dependency management anymore.
crystal docs
andcrystal spec
commonly used with projects rather with single files and that would make sense to combine them into one utility (if it's hard to untie them from the compiler then aliases is a temporary solution that would work good).- This would be friendlier to beginners. We have
crystal spec
,crystal docs
, but at the same time we haveshards update
, possibleshards run
and it's a bit confusing. - In case of alternative Crystal implementations (JCrystal, Crystal for microcontrollers and everything that the community will make) it would be possible to use Shards together with them.
And a list of commands that would look good with this change:
shards release
- compiles code in the release mode (an alias forcrystal build ./src/filename.cr --release
)shards init
- replacement forcrystal init
(as suggested in Revisitcrystal init
crystal#8844)- Add run command #298 and Add a fallback to alternate shards commands #202 as mentioned earlier
- Maybe something else
Metadata
Metadata
Assignees
Labels
No labels