Skip to content

Commit 1319cda

Browse files
author
Chris Chase
committed
added make file
1 parent 8a0d67a commit 1319cda

File tree

3 files changed

+33
-8
lines changed

3 files changed

+33
-8
lines changed

Diff for: bin/mdtodo

4.31 MB
Binary file not shown.

Diff for: makefile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
APP_NAME := mdtodo
2+
INSTALL_DIR := /usr/local/bin
3+
SRC_DIR := .
4+
BUILD_DIR := ./bin
5+
BIN := $(BUILD_DIR)/$(APP_NAME)
6+
7+
.PHONY: all build install clean
8+
9+
all: build
10+
11+
build:
12+
@echo "Building $(APP_NAME)..."
13+
@mkdir -p $(BUILD_DIR)
14+
@go build -o $(BIN) $(SRC_DIR)
15+
16+
install: build
17+
@echo "Installing $(APP_NAME)..."
18+
@sudo install -m 755 $(BIN) $(INSTALL_DIR)/$(APP_NAME)
19+
@echo "$(APP_NAME) installed to $(INSTALL_DIR)"
20+
21+
clean:
22+
@echo "Cleaning up..."
23+
@rm -rf $(BUILD_DIR)

Diff for: todo.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Todo
22

3-
## asd
4-
53
## Main
64
- [x] loading
75
- [x] delete project
@@ -10,23 +8,27 @@
108
- [x] edit task
119
- [ ] select next post delete
1210
- [x] Esp on task add
13-
- [ ] key bindings
14-
- [ ] status bar
1511
- [x] autosave
1612
- [x] hide done
17-
- [ ] hide empty projects
13+
- [ ] help
14+
- [ ] key bindings
15+
- [ ] status bar
1816
- [x] Dirty Flag
1917
- [x] Rename projects
2018
- [x] reorder projects
21-
- [ ] help
19+
- [ ] Version numbers
20+
- [ ] hide empty projects
21+
- [ ] Highlight what will be deleted
22+
- [ ] param for todo
2223

2324
## Later Ideas
24-
- [ ] install
25+
- [x] install
2526
- [ ] Undo Stack
2627
- [ ] cut/copy tasks
2728
- [ ] Move task between projects
2829
- [ ] Notes after todo
2930
- [ ] Notes project
31+
- [ ] Global todo
3032

3133
## test 2
3234
- [ ] asd
@@ -36,5 +38,5 @@
3638
- [ ] adasdasd
3739
- [ ] TESTING
3840
- [ ] TESTING123
39-
- [ ] TESTING123asd
41+
- [ ] TESTING123asd
4042

0 commit comments

Comments
 (0)