Skip to content

Commit 0261c47

Browse files
author
Mark R. Tuttle
committed
Update Makefile with setup and publication targets
1 parent ac60f05 commit 0261c47

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

Makefile

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
default:
2-
./node_modules/.bin/vsce package
1+
VSCE=./node_modules/.bin/vsce
2+
3+
package default:
4+
$(VSCE) package
5+
6+
publish:
7+
$(VSCE) publish
38

49
install:
510
code --install-extension proof-debugger-*.vsix
@@ -16,4 +21,13 @@ veryclean: clean
1621
$(RM) src/*.js
1722
$(RM) *.vsix
1823

19-
.PHONY: default install format clean veryclean
24+
setup-macos:
25+
brew install node
26+
npm install
27+
28+
setup-ubuntu:
29+
sudo apt install nodejs npm
30+
npm install
31+
32+
.PHONY: default package publish install format clean veryclean
33+
.PHONY: setup-macos setup-ubuntu

0 commit comments

Comments
 (0)