diff options
author | Eduardo Julian | 2020-10-14 21:48:00 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-10-14 21:48:00 -0400 |
commit | 440608bc32916329c9f3c0f2bd9a8d1152ed5da8 (patch) | |
tree | e27ae0f41a437c24275293b151b23e63bf938392 /stdlib/source/program/aedifex/artifact | |
parent | 00d5ccbc043960037f644d4ff09b6a46fd0093d0 (diff) |
Gave the Location type its own module.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex/artifact/extension.lux | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/stdlib/source/program/aedifex/artifact/extension.lux b/stdlib/source/program/aedifex/artifact/extension.lux new file mode 100644 index 000000000..04d40fec4 --- /dev/null +++ b/stdlib/source/program/aedifex/artifact/extension.lux @@ -0,0 +1,37 @@ +(.module: + [lux #* + [data + [text + ["%" format (#+ format)]]]] + ["." // #_ + ["#" type]]) + +(type: #export Extension + Text) + +(def: separator + ".") + +(def: #export extension + (-> //.Type Extension) + (|>> (format ..separator))) + +(def: #export lux-library + Extension + (..extension //.lux-library)) + +(def: #export jvm-library + Extension + (..extension //.jvm-library)) + +(def: #export pom + Extension + (..extension //.pom)) + +(def: #export sha1 + Extension + (format ..separator "sha1")) + +(def: #export md5 + Extension + (format ..separator "md5")) |