Changeset - b70ad5c7e706
[Not reviewed]
default
0 2 0
Mads Kiilerich - 7 years ago 2018-12-23 21:16:07
mads@kiilerich.com
make-release: drop partial support for shipping the generated style.css and corresponding bootstrap
2 files changed with 2 insertions and 4 deletions:
0 comments (0 inline, 0 general)
MANIFEST.in
Show inline comments
 
@@ -20,7 +20,6 @@ include           kallithea/bin/ldap_syn
 
include           kallithea/lib/paster_commands/template.ini.mako
 
recursive-include kallithea/i18n *
 
recursive-include kallithea/public *
 
recursive-include node_modules/bootstrap *
 
recursive-include kallithea/templates *
 
recursive-include kallithea/tests/fixtures *
 
recursive-include kallithea/tests/scripts *
scripts/make-release
Show inline comments
 
@@ -32,8 +32,8 @@ rm -rf build dist
 
hg archive build
 
cd build
 

	
 
echo "Check MANIFEST.in"
 
sed -e 's/[^ ]*[ ]*\([^ ]*\).*/\1/g' MANIFEST.in | grep -v '^node_modules/bootstrap\|^kallithea/public/css/style.css' | xargs ls -lad
 
echo "Check that each entry in MANIFEST.in match something"
 
sed -e 's/[^ ]*[ ]*\([^ ]*\).*/\1/g' MANIFEST.in | xargs ls -lad
 

	
 
echo "Build dist"
 
python2 setup.py compile_catalog
 
@@ -48,7 +48,6 @@ echo "Releasing Kallithea $version in di
 

	
 
echo "Verify dist file content"
 
diff -u <((hg mani | grep -v '^\.hg') | LANG=C sort) <(tar tf dist/Kallithea-$version.tar.gz | sed "s|^$namerel/||" | grep . | grep -v '^kallithea/i18n/.*/LC_MESSAGES/kallithea.mo$\|^Kallithea.egg-info/\|^PKG-INFO$\|/$' | LANG=C sort)
 
! tar tf dist/Kallithea-$version.tar.gz | grep "$namerel/node_modules/bootstrap/\$"
 

	
 
echo "Verify docs build"
 
python2 setup.py build_sphinx # not used yet ... but we want to make sure it builds
0 comments (0 inline, 0 general)