Merge pull request #559 from kiwix/move_to_main
This commit is contained in:
commit
720209891d
|
@ -142,7 +142,7 @@ class GitClone(Source):
|
|||
|
||||
@property
|
||||
def release_git_ref(self):
|
||||
return main_project_versions.get(self.name, "master")
|
||||
return main_project_versions.get(self.name, self.base_git_ref)
|
||||
|
||||
@property
|
||||
def source_dir(self):
|
||||
|
|
|
@ -11,6 +11,7 @@ class Libzim(Dependency):
|
|||
class Source(GitClone):
|
||||
git_remote = "https://github.com/openzim/libzim.git"
|
||||
git_dir = "libzim"
|
||||
base_git_ref = "main"
|
||||
|
||||
class Builder(MesonBuilder):
|
||||
test_option = "-t 8"
|
||||
|
|
|
@ -10,6 +10,7 @@ class ZimTools(Dependency):
|
|||
class Source(GitClone):
|
||||
git_remote = "https://github.com/openzim/zim-tools.git"
|
||||
git_dir = "zim-tools"
|
||||
base_git_ref = "main"
|
||||
|
||||
class Builder(MesonBuilder):
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue