Popularity
8.1
Declining
Activity
0.0
Stable
71
5
9
Programming language: Crystal
License: MIT License
Tags:
Task Management
cake alternatives and similar shards
Based on the "Task management" category.
Alternatively, view cake alternatives based on common mentions on social networks and blogs.
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
Do you think we are missing an alternative of cake or a related project?
Popular Comparisons
README
Cake
Cake is a powerful and flexible Make-like utility tool. Implement tasks on plain crystal-lang and Make Tasks Great Again!
Installation
Execute command to install Cake
$ curl https://raw.githubusercontent.com/axvm/cake/master/install.sh | bash
Usage
Develop tasks in plain Crystal code in Cakefile
and run them via $ cake :task_name
bin/cake
Usage:
cake task_name
cake -T
Options:
-T, --tasks Show all tasks
-h, --help This info
-v, --version Show version
Cakefile sample
# Define task
task :task_name do
# task logic
end
# Define task with description
desc "task useful description"
task :some_task do
# 2 + 1
end
# Run one task from another
desc "invoke example"
task :first do
# -Infinity / 0
invoke! :second
end
task :second do
# yay we are here!
end
# Execute shell commands
task :build do
execute "shards build"
# or with sweet logs
execute(
cmd: "shards build",
announce: "Building binary...",
success: "Binary built!",
error: "Build failed."
)
end
# Log things
task :deploy do
# your deploy code
log "Deploy successful!"
log "Or errored.", 1
end
Development
- Implement feature and tests
- Create pull request
- ...
- Profit!
Contributing
- Fork it ( https://github.com/axvm/cake/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [axvm] Alexander Marchenko - creator, maintainer
- [triinoxys] Alexandre Guiot--Valentin - contributor