The title was a click-bait! This article will actually try to explain five instead of three important notions in Shake.
These are: RulesKeysValuesThe Build DatabaseActions
This short blog post was inspired by the hurdles with my Shake based build, after the new Shake version was released, which had breaking API changes.
Jump to the next section if you are not interested in the why and how of this blog post.
Shake is rule based build system much like GNU make. Like make it is robust, unlike make, it is pretty fast and supports dynamic build dependencies.
But you knew all that already, if you are the target audience of this post, since this post is about me explaining to myself by explaining to you, how that build tool, I used for years, actually works.
Although I used it for years, I never read the paper or wrapped my head around it more than absolutely necessary to get the job done.
When Shake was updated to version 0.16.x, the internal API for custom rules was removed. Until then I w…
Strictness Strictness means that the result of a function is undefined, if one of the arguments, the function is applied to, is undefined. Classical programming languages are strict. The following example in Java will demonstrate this. When the programm is run, it will throw a RuntimeException, although the variable "evilX" is never actually used, strictness requires that all arguments of a fu…
NOTE THIS POST IS OUTDATED! The project has evolved and can be found here: ErlyMock
Easy to use Design based on easymock Works together with otp: can be used even if the clut is called from another process, by invoking mock:verify_after_last_call(Mock,optional: timeout) custom return functions predefined return functions for returning values, receiving message, throwing exceptions, etc.. erlymock automatically purges all modules that were mocked, after verify() Custom argument matchers: