Skip to content

Commit 283b471

Browse files
committed
Install script
1 parent e7037c8 commit 283b471

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ $(BUILD_DIR)/release/$(NAME): $(SOURCES)
1313

1414
.PHONY: install
1515
install: $(BUILD_DIR)/release/$(NAME)
16-
@install "$(BUILD_DIR)/release/$(NAME)" "$(BIN_DIR)"
16+
@install -d $(BIN_DIR)
17+
@install "$(BUILD_DIR)/release/$(NAME)" $(BIN_DIR)
1718

1819
.PHONY: uninstall
1920
uninstall:

install.sh

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

33
git clone https://github.com/ikhvorost/swift-doc-coverage.git
44
cd swift-doc-coverage
5-
sudo make install
5+
make install

0 commit comments

Comments
 (0)