diff options
| author | Fuwn <[email protected]> | 2022-03-26 00:46:03 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-26 03:12:32 +0000 |
| commit | fdfc6c4123ecdb8d8e173a4661a0bcf7d7220a33 (patch) | |
| tree | 447c5f99a973d9e69e5b3b490acad8c37e07b0c7 /Makefile.toml | |
| parent | docs(cargo): add meta (diff) | |
| download | windmark-fdfc6c4123ecdb8d8e173a4661a0bcf7d7220a33.tar.xz windmark-fdfc6c4123ecdb8d8e173a4661a0bcf7d7220a33.zip | |
feat: working proof
Forgot to commit this last night!
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..d6b203e --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,59 @@ +# ------------ +# | Wrappers | +# ------------ +[tasks.fmt] +command = "cargo" +args = ["fmt"] +private = true + +[tasks.check] +command = "cargo" +args = ["check"] +private = true + +[tasks.clippy] +command = "cargo" +args = ["clippy"] +private = true + +# ------------- +# | Executors | +# ------------- +[tasks.checkf] +dependencies = ["fmt", "check"] + +[tasks.checkfc] +dependencies = ["fmt", "check", "clippy"] + +# openssl req -x509 -newkey rsa:4096 -keyout windmark_private.pem -out windmark_public.pem -days 365 + +[tasks.genkey] +command = "openssl" +args = [ + "req", + "-newkey", + "rsa:2048", + "-new", + "-nodes", + "-keyout", + "windmark_private.pem", + "-out", + "windmark_public.pem", + "-subj", + "/CN=localhost" +] + +[tasks.fixkey] +command = "openssl" +args = [ + "x509", + "-req", + "-days", + "365", + "-in", + "windmark_public.pem", + "-signkey", + "windmark_private.pem", + "-out", + "windmark_pair.pem" +] |