aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/local.lux
blob: bf8c0f7803038544a7e338d9997c72d6c030dd8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(.module:
  [lux #*
   [data
    [text
     ["%" format (#+ format)]]]
   [world
    [net
     ["." uri (#+ URI)]]]]
  ["." // #_
   ["#." artifact (#+ Version Artifact)]])

(def: / uri.separator)

(def: #export repository
  URI
  (format ".m2" / "repository"))

(def: #export (uri version artifact)
  (-> Version Artifact URI)
  (format ..repository / (//artifact.uri version artifact)))