Mostly geared towards GNU make
I've used ->| to indicate a tab character, as it's clearer to read than ⇥
- Set a target, its dependencies and the commands to execute in order
target: [dependencies]
->|
| // https://www.socketloop.com/tutorials/golang-example-for-ecdsa-elliptic-curve-digital-signature-algorithm-functions | |
| package main | |
| import ( | |
| "crypto/ecdsa" | |
| "crypto/elliptic" | |
| "crypto/md5" | |
| "crypto/rand" | |
| "fmt" |
| # Repeat an operation n times, e.g. | |
| # @dotimes 100 println("hi") | |
| macro dotimes(n, body) | |
| quote | |
| for i = 1:$(esc(n)) | |
| $(esc(body)) | |
| end | |
| end | |
| end |