Cake
doit
Our great sponsors
Cake | doit | |
---|---|---|
13 | 20 | |
3,811 | 1,780 | |
0.8% | 1.4% | |
8.2 | 0.0 | |
8 days ago | 6 months ago | |
C# | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cake
-
Unpopular opinion: CI/CD engines are an awful idea
This is why 90-99% of our builds are done with Cake. It isolates all of it and you can run the build locally if you want.
-
Cake v2.3.0 released - New Command aliases, New .NET Workload aliases, improved global caching of scripts, bug fixes, and more.
A good starting point of you want to get started with Cake is our website at https://cakebuild.net/
-
Cake : A C23 to C99 transpiler
I don't think it will get too much confusion, but there is a build system called Cake: https://cakebuild.net/
-
Achieving single command Infrastructure deployment using PowerShell DSC.
You may use other tools too: psake, make, cake, fake or any other *ake you are familiar with. I look at them as a tools that make build tasks behind simple commands and help me answer: How did I run that code again?
-
.NET build tool using Bullseye and SimpleExec
NAnt was quite a popular build tool used by projects of all sizes targeting .NET Framework on Windows. I have written many complex build systems using NAnt in the past. But XML based DSL was quite clunky to use and maintain. Besides, it was always a daunting task to explain to a new dev on the team. With .NET Core/.NET becoming a cross-platform framework, CAKE and FAKE gained a lot of adoption providing a C# and F# based DSL for build tasks accordingly.
-
Nuke Build - best build automation system
Cake (C# Make) - simple, easy to set up, and with a lot of extensions scripting with C#.
-
Can Cake be used to build a .NET Core 3.1 console application for Windows, Linux and Mac... on a Windows machine?
I got the example and the answer I needed on this thread: https://github.com/cake-build/cake/discussions/3564
-
Creating reusable build scripts with NUKE components
For those not familiar with it, Cake is a build automation system with a C#-based DSL. It is based on the concept of tasks, which are small units of work, like restoring packages, building, or testing, which can have dependencies on, or trigger, other tasks.
-
A super simple make wrapper for docker/podman that runs all your targets in a container - just a utility I put together to make my life slightly easier, nothing fancy
Just a note: there's already a very active community of the same name for the build utility Cake.
-
A stupid simple make wrapper that makes my life easier
Looks interesting! Although the name clashes with Cake (C# Make) project which could be confusing - https://cakebuild.net/
doit
-
How do you deal with CI, project config, etc. falling out of sync across repos?
I like mage for Go and doit for Python.
-
What’s with DevOps engineers using `make` of all things?
Some competitors - Rake (ruby) - Bake - Earthly - SCons - doit
-
Show HN: Jeeves – A Pythonic Alternative to GNU Make
An alternative to Scons could be Doit (<https://pydoit.org/>), which if I remember correctly was built as a faster alternative to Scons. See also reasons of some users to prefer the later to other mentioned here: <https://pydoit.org/stories.html>.
- A Python powered task management and automation tool
- Makefile Tricks for Python Projects
-
Write Posix Shell
If you code in Python, your probably should use the language as much as possible and avoid calling shell commands.
E.G:
- manipulate the file system with pathlib
- do hashes with hashlib
- zip with zipfile
- set error code with sys.exit
- use os.environ for env vars
- print to stderr with print(..., file=...)
- sometimes you'll need to install lib. Like, if you want to manipulate a git repo, instead of calling the git command, use gitpython (https://gitpython.readthedocs.io/en/stable/)
But if you don't feel like installing a too many libs, or just really want to call commands because you know them well, then the "sh" lib is going to make things smoother:
https://pypi.org/project/sh/
Also, enjoy the fact Python comes with argparse to parse script arguments (or if you feel like installing stuff, use typer). It sucks to do it in bash .
If what you need is more build oriented, like something to replace "make", then I would instead recommend "doit":
https://pydoit.org/
It's the only task runner that I haven't run away from yet.
Remember to always to everything in a venv. But you can have a giant venv for all the scripts, and just she-bang the venv python executable so that it's transparent. Things don't have to be difficult.
-
Alternatives to Makefile for Python
I've been using Doit for a project which involves gathering together documents made up of multiple Markdown files and converting to multiple formats. It's really cool but has some irritations. It didn't end up being much simpler than Make for me. I'm interested in trying some of the alternatives people have posted.
- Just: A Command Runner
-
I used Python to control a custom stop-motion animation drawing machine
The code for all of this is available here, and described in detail in my article. I'm particularly fan of doit for this type of project, and highly encourage everyone to check it out!
-
Monorepo Build Tools
Instead, I use pydoit (which is basically a Python version of make). It's simple, flexible, and quite extensible. So, here's what I do with it:
What are some alternatives?
NUKE - 🏗 The AKEless Build System for C#/.NET
Invoke - Pythonic task management & command execution.
MSBuild - The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
Prefect - The easiest way to build, run, and monitor data pipelines at scale.
FAKE - FAKE - F# Make
Joblib - Computing with Python functions.
Psake - A build automation tool written in PowerShell
schedule - Python job scheduling for humans.
Invoke-Build - Build Automation in PowerShell
Task - A task runner / simpler Make alternative written in Go
Nake - Magic script-based C# task runner for .NET Core
TaskFlow - A library to complete workflows/tasks in HA manner. Mirror of code maintained at opendev.org.