Skip to content

Commit

Permalink
strip all executables except savilerow (which is a shell script)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurakgun committed Nov 8, 2023
1 parent dae2a21 commit cdf4a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
cp ~/.local/bin/conjure ~/.local/bin/savilerow ~/.local/bin/savilerow.jar .
cp -r lib/* lib/
strip $(find . -type f -perm -u+x)
strip $(find . -type f -perm -u+x | grep -v savilerow)
mkdir -p conjure-${{ github.ref_name }}-${{ matrix.release_suffix }}-with-solvers
cp -r * conjure-${{ github.ref_name }}-${{ matrix.release_suffix }}-with-solvers
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RUN make install
# Make binaries a bit smaller
RUN ls -l /root/.local/bin
RUN du -sh /root/.local/bin
RUN cd /root/.local/bin ; strip $(find . -type f -perm -u+x)
RUN cd /root/.local/bin ; strip $(find . -type f -perm -u+x | grep -v savilerow)
RUN ls -l /root/.local/bin
RUN du -sh /root/.local/bin

Expand Down

0 comments on commit cdf4a68

Please sign in to comment.