Skip to content

Commit a8ba14b

Browse files
committed
Fix make cli helper
Broken at 929daf4
1 parent 33c37f4 commit a8ba14b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ upload: dist
3232
test-upload: dist
3333
$(PY) -m twine upload --repository testpypi $</*
3434

35-
.PHONY: update-template
36-
update-template:
37-
$(PY) -m cruft update
35+
# Usage: make cli args=--help
36+
.PHONY: cli
37+
cli:
38+
$(PY) ./utils/cli.py --config ./utils/conf.py $(args)

src/utils/cli.py renamed to utils/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import os
66
import sys
7-
sys.path.insert(0, os.path.abspath('sphinxnotes'))
7+
sys.path.insert(0, os.path.abspath('src/sphinxnotes'))
88
import snippet.cli
99

1010
snippet.cli.main()
File renamed without changes.

0 commit comments

Comments
 (0)