summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Paul <n@nc0.fr>2023-10-01 23:02:37 +0200
committerNicolas Paul <n@nc0.fr>2023-10-02 09:11:12 +0200
commit608947dd5b47ac8e2a4ffe37cf2cfcd628f10f00 (patch)
treeb422f86ba95f3eb5fe8cce322dddfa86c76ec0c7
parenta8b51ab6865d102a1c350f839209926bcb2c7ee7 (diff)
Remove helper functions from testing data
-rw-r--r--testdata/DOMAINS.star41
1 files changed, 1 insertions, 40 deletions
diff --git a/testdata/DOMAINS.star b/testdata/DOMAINS.star
index 0ae54f2..3c7e7e2 100644
--- a/testdata/DOMAINS.star
+++ b/testdata/DOMAINS.star
@@ -31,52 +31,13 @@
# The fact that you are presently reading this means that you have had
# knowledge of the CeCILL license and that you accept its terms.
-load("@svgu/git.star", "git")
-load("@svgu/svn.star", "svn")
-load("@svgu/hg.star", "hg")
-load("@svgu/bzr.star", "bzr")
-load("@svgu/fossil.star", "fossil")
-
index(domain = "example.com")
module(
name = "foo",
- vcs = git.GIT,
+ vcs = "git",
repo = "https://example.com",
dir = "https://example.com{/dir}",
file = "https://example.com{/dir}/{file}",
)
-git.github(
- name = "github/bar",
- user = "example",
- repo = "bar.git",
-)
-
-git.gitlab(
- name = "gitlab/bar",
- user = "example",
- repo = "bar.git",
-)
-
-git.sourcehut(
- name = "sourcehut/bar",
- user = "example",
- repo = "bar.git",
- ref = "trunk",
-)
-
-git.bitbucket(
- name = "bitbucket/bar",
- workspace = "example",
- repo = "bar.git",
- ref = "default",
- instance = "https://root@bitbucket.org",
-)
-
-git.gitiles(
- name = "gitiles/bar",
- repo = "example/bar.git",
- ref = "master",
- instance = "https://gerrit.googlesource.com",
-)