Skip to content

Commit

Permalink
make the rel/ directory have at least one file
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-fi committed Nov 19, 2024
1 parent 41efd88 commit 525a63d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-go-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,14 @@ binaries() {
removePreviousBuildArtefacts() {
rm -rf rel
mkdir rel

# suppose we compile two executables into this directory. for consistency we don't want for
# the first executable's compilation the workdir to be clean (Git doesn't track directories
# so this dir itself is not counted) and for the second not.
#
# if you want the workdir to be considered clean despite the rel/ directory here then .gitignore
# could be the more robust solution. more context: https://github.com/function61/turbobob/issues/65
touch rel/.dummy_file_to_make_dir_not_empty
}

standardBuildProcess() {
Expand Down

0 comments on commit 525a63d

Please sign in to comment.