Skip to content

Commit 5b12e07

Browse files
committed
move stencila to preassemble
1 parent b6ab2a9 commit 5b12e07

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

repo2docker/buildpacks/base.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -711,12 +711,8 @@ def get_preassemble_scripts(self):
711711
except FileNotFoundError:
712712
pass
713713

714-
return scripts
715-
716-
def get_assemble_scripts(self):
717-
assemble_scripts = []
718714
if "py" in self.stencila_contexts:
719-
assemble_scripts.extend(
715+
scripts.extend(
720716
[
721717
(
722718
"${NB_USER}",
@@ -728,7 +724,7 @@ def get_assemble_scripts(self):
728724
]
729725
)
730726
if self.stencila_manifest_dir:
731-
assemble_scripts.extend(
727+
scripts.extend(
732728
[
733729
(
734730
"${NB_USER}",
@@ -741,7 +737,11 @@ def get_assemble_scripts(self):
741737
)
742738
]
743739
)
744-
return assemble_scripts
740+
return scripts
741+
742+
def get_assemble_scripts(self):
743+
"""Return directives to run after the entire repository has been added to the image"""
744+
return []
745745

746746
def get_post_build_scripts(self):
747747
post_build = self.binder_path("postBuild")

0 commit comments

Comments
 (0)