aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/local.lux
blob: a6236a4697fae42e87fc0e0372a788aef205756d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(.using
 [library
  [lux (.except)
   [data
    [text
     ["%" \\format (.only format)]]]
   [world
    [net
     ["[0]" uri (.only URI)]]]]]
 ["[0]" //
  ["[1][0]" artifact (.only Version Artifact)]])

(def / uri.separator)

(def .public repository
  URI
  (format ".m2" / "repository"))

(def .public (uri version artifact)
  (-> Version Artifact URI)
  (format ..repository / (//artifact.uri version artifact)))