Skip to content

Commit

Permalink
Strip binaries to make them smaller (#84)
Browse files Browse the repository at this point in the history
Thanks @ulrikstrid for the tip!
  • Loading branch information
Schniz authored Mar 12, 2019
1 parent 8ed082e commit 3717c97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/create-static-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ docker build . -t schlez/fnm-static-binary
echo "Copying to ./fnm"

docker run --rm -v $(pwd):$(pwd) --workdir $(pwd) schlez/fnm-static-binary cp /app/_build/default/executable/FnmApp.exe ./fnm
strip ./fnm
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- script: brew install fish
- template: .ci/esy-build-steps.yml
- script: cp _build/default/executable/FnmApp.exe _build/fnm
- script: strip _build/fnm
- script: ./feature_tests/run.sh $(pwd)/_build/fnm
# - template: .ci/publish-build-cache.yml
- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit 3717c97

Please sign in to comment.