Skip to content

Commit

Permalink
chore: updated the make binstatic rule
Browse files Browse the repository at this point in the history
  • Loading branch information
MassiGy committed Jun 16, 2024
1 parent e0a4b01 commit c00df63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ binstatic:
$(eval VERSION=$(shell cat ./VERSION))

@echo "Building a static executable..."
CGO_ENABLED=0 go build -a -tags netgo,osusergo -ldflags "-X main.version=${VERSION} -X main.binary_name=${BINARY_NAME} -extldflags '-static -s -w'" -o bin/${BINARY_NAME} cmd/main.go
go build -a -tags netgo,osusergo -ldflags "-X main.version=${VERSION} -X main.binary_name=${BINARY_NAME} -extldflags '-static -s -w'" -o bin/${BINARY_NAME} cmd/*.go

run:
./bin/${BINARY_NAME}
Expand Down Expand Up @@ -69,4 +69,4 @@ uninstall: rm_local_bin
$(eval SHARED_DIR=${HOME}/.local/share/${BINARY_NAME}-${VERSION})

rm -rf ${CONFIG_DIR}
rm -rf ${SHARED_DIR}
rm -rf ${SHARED_DIR}
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.5
v0.2.0
5 changes: 2 additions & 3 deletions cmd/vue.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,9 @@ func display_text_buffer() {
} else {
termbox.SetCell(col, row, rune(' '), termbox.ColorDefault, termbox.ColorDefault)
}
} else if txtBufRow >= linesCount { // for unreached lines print ~ as in vim
termbox.SetCell(LINE_NUMBER_COL_WIDTH, row, rune('~'), termbox.ColorBlue, termbox.ColorDefault)
}
// } else if txtBufRow >= linesCount { // for unreached lines print ~ as in vim
// termbox.SetCell(LINE_NUMBER_COL_WIDTH, row, rune('~'), termbox.ColorBlue, termbox.ColorDefault)
// }
}
}
}
Expand Down

0 comments on commit c00df63

Please sign in to comment.