com.dirkgassen.wator.yml 1.69 KB
Newer Older
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
Categories:
  - Games
  - Science & Education
License: GPL-3.0-or-later
WebSite: http://www.dirkgassen.com/projects/wator
SourceCode: https://github.com/aperifons/Wa-Tor
IssueTracker: https://github.com/aperifons/Wa-Tor/issues

AutoName: Wa-Tor
Description: |-
    Wa-Tor simulates a torus (or donut shaped) world with two species: shark and
    fish. The fish happily reproduce while the shark need to eat fish to survive.

    Wa-Tor was devised by Alexander Keewatin Dewdney and originally presented in the
    December 1984 issue of Scientific American.

RepoType: git
Repo: https://github.com/aperifons/Wa-Tor

Builds:
  - versionName: '1.1'
    versionCode: 1001000
    commit: v1.1
    subdir: app
    gradle:
      - yes
    prebuild: sed -e 's/git.status().isClean()/true/' build.gradle -i

  - versionName: '1.2'
    versionCode: 1002000
    commit: v1.2
    subdir: app
    gradle:
      - yes
    prebuild: sed -e 's/git.status().isClean()/true/' build.gradle -i

MaintainerNotes: |-
    The project automatically calculates the version code from the
    last tag (see "git describe --tags --dirty"). The tag format
    is "v<major>.<minor>". The generated version code is calculated as:
       (major * 1000 + minor) * 1000 + addlCommits * 2 + dirty
    where "addlCommits" is the number of commits since the tag.
    "dirty" is 1 if there are uncommitted changes.

    Since fdroid patches the build.gradle file "dirty" would always
    be 1 (not desired), so the prebuild command patches the
    build.gradle file to ignore the "dirty" status.

    The "preBuild" task should output the versionCode and
    versionName.

AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: '1.2'
CurrentVersionCode: 1002000