Welcome to potential-octo-tribble Discussions! #5
akaday
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ere's a step-by-step guide to remove binaries and ensure everything is built from source:
Identify Binary Files: Locate the generated executables in your repository. These might be .exe, .dll, .so, .o, or other compiled file types.
Remove Binary Files: Use Git to remove these files. Run:
sh
Copier
git rm path/to/binaryfile
Then commit the change:
sh
Copier
git commit -m "Removed binary files"
Update .gitignore: Prevent binaries from being added again by updating your .gitignore file:
plaintext
Copier
*.exe
*.dll
*.so
*.o
Add other extensions as needed.
Document Build Process: Create or update a README.md or similar documentation file with clear instructions on how to build the binaries from source.
Add Build Script: If possible, include a build script like Makefile, build.sh, or build.bat that automates the process. For example:
sh
Copier
build.sh
gcc -o my_program main.c
Test: Run the build process to ensure it works as expected.
Beta Was this translation helpful? Give feedback.
All reactions