build: let CE expose static/source in the same way as EE for consistent etc/ directory structure

This commit is contained in:
Marcin Kuzminski 2018-10-30 00:38:40 +01:00
parent 989fc393a8
commit 46d31aeda7

View file

@ -246,6 +246,13 @@ let
# rhodecode-tools don't need wrapping
ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/
# expose sources of CE
ln -s $out $out/etc/rhodecode_enterprise_ce_source
# expose static files folder
cp -Rf $out/lib/${self.python.libPrefix}/site-packages/rhodecode/public/ $out/etc/static
chmod 755 -R $out/etc/static
'';
});