From 18ad10773a50f87d565ad13409b7da394575a04f Mon Sep 17 00:00:00 2001 From: Matthew Pickering <matthewtpickering@gmail.com> Date: Fri, 1 Mar 2024 10:02:00 +0000 Subject: [PATCH] rel_eng: Update hackage docs upload scripts This adds the upload of ghc-internal and ghc-experimental to our scripts which upload packages to hackage. --- .gitlab/rel_eng/upload_ghc_libs.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab/rel_eng/upload_ghc_libs.py b/.gitlab/rel_eng/upload_ghc_libs.py index 99d7fe0dec7a..41a054bed56f 100755 --- a/.gitlab/rel_eng/upload_ghc_libs.py +++ b/.gitlab/rel_eng/upload_ghc_libs.py @@ -49,6 +49,10 @@ def prep_base(): shutil.copy('config.guess', 'libraries/base') shutil.copy('config.sub', 'libraries/base') +def prep_ghc_internal(): + shutil.copy('config.guess', 'libraries/ghc-internal') + shutil.copy('config.sub', 'libraries/ghc-internal') + def build_copy_file(pkg: Package, f: Path): target = Path('_build') / 'stage1' / pkg.path / 'build' / f dest = pkg.path / f @@ -93,6 +97,8 @@ PACKAGES = { pkg.name: pkg for pkg in [ Package('base', Path("libraries/base"), prep_base), + Package('ghc-internal', Path("libraries/ghc-internal"), prep_ghc_internal), + Package('ghc-experimental', Path("libraries/ghc-experimental"), no_prep), Package('ghc-prim', Path("libraries/ghc-prim"), prep_ghc_prim), Package('integer-gmp', Path("libraries/integer-gmp"), no_prep), Package('ghc-bignum', Path("libraries/ghc-bignum"), prep_ghc_bignum), -- GitLab