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

(def / path.separator)

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

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