crake
Version, currently 1.0.12 versions
- 1.0.1latestDec 5, 2015
- 1.0.0not indexedApr 3, 2016
github.com/makenowjust/crake
A CRystal mAKE library.
34 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crake:
github: makenowjust/crake
version: ~> 1.0.1Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- TSUYUSATO Kitsune <make.just.on@gmail.com>
Dependencies
This version declares no dependencies.
README
# CRake
A __CRystal mAKE__ library.
[](https://travis-ci.org/MakeNowJust/crake)
[](http://docrystal.org/github.com/MakeNowJust/crake)
## Just a Library
It is not a tool, just a __library__. It does not provide a CLI tool like `crake`. You do learn the library only, not need to learn some tool except for `crystal` command because it is the library of [Crystal](http://crystal-lang.org/).
I believe this approach is better than another build command. It makes your build script powerful and flexible. And, it makes so possible to integrate another library. Simple is the best.
This library is inspired by [Rake](https://github.com/ruby/rake), [gulp](http://gulpjs.com/), [tape](https://github.com/substack/tape) and more. Thanks those libraries and tools ;)
## Features
- Looks like Rake. There are `task`, `file`, `rule` and `namespace` in this library.
- Use the syntax of Crystal. It's smart.
- Support concurrent build by default.
## Installation
Add this to your application's `shard.yml`:
```yaml
development_dependencies:
crake:
github: MakeNowJust/crake
```
## Usage
Put this code into `make.cr`:
```crystal
require "crake/global"
task "hello # say hello" do
puts "Hello, CRake World!"
end
```
then you can run:
```console
$ crystal make.cr -- hello
Hello, CRake World!
```
If you want more information, you can run such a command:
```console
$ crystal make.cr -- hello -v
INFO (2015-11-20 12:34:20 +0000) ~~> "##toplevel##" starts
INFO (2015-11-20 12:34:20 +0000) ~~> "hello" starts
Hello, CRake World!
INFO (2015-11-20 12:34:20 +0000) ~~> "hello" finished
INFO (2015-11-20 12:34:20 +0000) ~~> "##toplevel##" finished
```
and you can see `example/` directory.
## Development
```console
$ crystal make.cr -- spec
```
## TODO
- [x] Add `task`, `rule`, `file` and `namespace`.
- [ ] Add `FileList` and utilities.
- [x] Support concurrent build (default.)
- [x] Support colored output (default.)
- [ ] Write more documents.
- [ ] Add more specs and examples.
## Contributing
1. Fork it ([https://github.com/MakeNowJust/crake/fork](https://github.com/MakeNowJust/crake/fork))
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [@MakeNowJust](https://github.com/MakeNowJust) TSUYUSATO Kitsune - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.1- Tagged
- Dec 5, 2015
- Commit
451694839b5c- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/makenowjust/crake
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 12, 2026
- Versions
- 2