diff --git a/content/docs/andaman/andax.mdx b/content/docs/andaman/andax.mdx index bed6e754..065d800b 100644 --- a/content/docs/andaman/andax.mdx +++ b/content/docs/andaman/andax.mdx @@ -118,6 +118,13 @@ let latest_tag = codeberg_tag("GeopJr/BLAHAJ"); let latest_commit = codeberg_commit("GeopJr/BLAHAJ"); let raw_readme_content = codeberg_rawfile("GeopJr/BLAHAJ", "main", "README.md"); +// The same functions exist for Tangled. Simply replace `gh` with +// `tangled`. +let latest_ver = tangled("tangled.org/core"); +let latest_tag = tangled_tag("tangled.org/core"); +let latest_commit = tangled_commit("tangled.org/core"); +let raw_readme_content = tangled_rawfile("tangled.org/core", "master", "docs/DOCS.md"); + // Similar functions exist for Gitea, // but you need to specify the custom domain as the first argument: let latest_ver = gitea("git.pika-os.com", "general-packages/falcond"); @@ -137,6 +144,12 @@ let latest_tag = forgejo_tag("forgejo.ellis.link", "continuwuation/continuwuity" let latest_commit = forgejo_commit("forgejo.ellis.link", "continuwuation/continuwuity"); // WARN: There is no `forgejo_rawfile()`. +// Sourcearcade functions +let sourcearcade_latest = sourcearcade("flashprog"); +let sourcearcade_tag_latest = sourcearcade_tag("flashprog"); +let sourcearcade_commit_latest = sourcearcade_commit("flashprog"); +let sourcearcade_readme = sourcearcade_rawfile("flashprog", "main", "README.md"); + // Others let pypi_latest = pypi("example"); let max_stable_version = crates("anda"); @@ -145,7 +158,10 @@ let newest_version = crates_newest("anda"); let npm_latest = npm("example"); let hackage_latest = hackage("example"); let rubygems_latest = gems("example"); +let opam_latest = opam("dune"); +let cran_latest = cran("jsonlite"); let gnome_extensions_latest_version = gnome_extensions(""); +let hex_latest = hex("phoenix"); let ansible_galaxy_latest = ansible_galaxy("onepassword", "connect"); ``` @@ -375,10 +391,7 @@ Additionally, the `rpm` object is provided under `anda update{:ansi} // note that the `rpm` object is only available in `anda update`, but not `anda run`. rpm.version(latest_ver); // note that version() resets the release back to 1 automatically // Source0: https://github.com/FyraLabs/anda/archive/refs/tags/0.1.17.tar.gz -rpm.source( - 0, - "https://github.com/FyraLabs/anda/archive/refs/tags/0.1.17.tar.gz", -); +rpm.source(0, "https://github.com/FyraLabs/anda/archive/refs/tags/0.1.17.tar.gz"); // %define abc hai bai rpm.define("abc", "hai bai"); // %global def give rabonuko a headpat!