aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/project.lux
blob: 385ef89198e59cb5c4f2cd7a7af0f1390bfeb776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(.module:
  [lux (#- Info Source)
   [data
    ["." text]]
   [world
    [net (#+ URL)]
    [file (#+ Path)]]]
  [//
   [artifact (#+ Artifact)]
   ["." dependency]])

(def: #export file
  "project.lux")

(type: #export Distribution
  #Repo
  #Manual)

(type: #export License
  [Text
   URL
   Distribution])

(type: #export SCM
  URL)

(type: #export Organization
  [Text
   URL])

(type: #export Email
  Text)

(type: #export Developer
  [Text
   Email
   (Maybe Organization)])

(type: #export Contributor
  Developer)

(type: #export Info
  {#url (Maybe URL)
   #scm (Maybe SCM)
   #description (Maybe Text)
   #licenses (List License)
   #organization (Maybe Organization)
   #developers (List Developer)
   #contributors (List Contributor)})

(type: #export Source
  Path)

(type: #export Project
  {#identity Artifact
   #info Info
   #repositories (List dependency.Repository)
   #dependencies (List dependency.Dependency)
   #sources (List Source)})