Skip to content

Commit

Permalink
cleanup and improve scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianinsaval committed Jun 30, 2023
1 parent 296c202 commit 870a89b
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 1,305 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/freecad_bundle.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: freecad_bundle
on:
schedule:
- cron: "0 12 * * 0/4"
- cron: "0 12 * * 0,4"
push:
branches:
- "*"
Expand Down
115 changes: 0 additions & 115 deletions .travis.yml.tmp

This file was deleted.

11 changes: 2 additions & 9 deletions conda/linux/create_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ echo -e "\nUninstall some packages not needed"
conda uninstall -p ${conda_env} libclang --force -y

mamba list -p ${conda_env} > AppDir/packages.txt
sed -i "1s/.*/\n\nLIST OF PACKAGES:/" AppDir/packages.txt
sed -i "1s/.*/\nLIST OF PACKAGES:/" AppDir/packages.txt

echo -e "\nDelete unnecessary stuff"
rm -rf ${conda_env}/include
Expand Down Expand Up @@ -60,7 +60,7 @@ cp AppDir/freecad_weekly.desktop ${conda_env}/share/applications/

# Remove __pycache__ folders and .pyc files
find . -path "*/__pycache__/*" -delete
# find . -name "*.pyc" -type f -delete
find . -name "*.pyc" -type f -delete

# reduce size
rm -rf ${conda_env}/conda-meta/
Expand All @@ -74,13 +74,6 @@ find . -name "*.cmake" -type f -delete
echo -e "\nAdd libnsl (Fedora 28 and up)"
cp ../../libc6/lib/x86_64-linux-gnu/libnsl* ${conda_env}/lib/

if [ ${ADD_DOCS} ]
then
echo -e "\nAdd documentation"
mkdir -p ${conda_env}/share/doc/FreeCAD
cp ../../doc/* ${conda_env}/share/doc/FreeCAD
fi

if [ "$DEPLOY_RELEASE" = "weekly-builds" ]; then
export tag="weekly-builds"
else
Expand Down

0 comments on commit 870a89b

Please sign in to comment.