Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gophernotes
build/
.ipynb_checkpoints
Untitled*.ipynb
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
BIN_DIR=build
BIN=$(BIN_DIR)/gophernotes
BUILD_OPTS=-v -buildmode exe -trimpath -o ${BIN}

.PHONY: all
all:
[ -d ${BIN_DIR} ] || mkdir -p ${BIN_DIR}
go build ${BUILD_OPTS}

.PHONY: clean
clean:
if [ -f ${BIN} ] ; then rm -v ${BIN} ; fi

.PHONY: clean_notebooks
clean_notebooks:
rm -v Untitled*.ipynb