File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- IE_VERSION ?= 40e125e61516ab401084da65eed36095b2b3850a
21INSTALLATION_DIR ?= ~/.local/bin
2+ RELEASE ?= latest
33
44# Install innovation engine
55.PHONY : install-ie
66install-ie :
7- DIR=$$(mktemp -d ) && \
8- cd $$ DIR && \
9- git clone https://github.com/Azure/InnovationEngine.git && \
10- cd InnovationEngine && \
11- git checkout $(IE_VERSION ) && \
12- make build-ie && \
13- mkdir -p $(INSTALLATION_DIR ) && \
14- cp bin/ie $(INSTALLATION_DIR ) && \
15- rm -rf $$ DIR
7+ wget -q -O ie https://github.com/Azure/InnovationEngine/releases/download/$(RELEASE ) /ie > /dev/null
8+ chmod +x ie > /dev/null
9+ mkdir -p $(INSTALLATION_DIR ) > /dev/null
10+ mv ie $(INSTALLATION_DIR ) > /dev/null
11+ if ! echo " $$ PATH" | grep -q " $( INSTALLATION_DIR) " ; then \
12+ export PATH="$$PATH :$(INSTALLATION_DIR ) "; \
13+ fi;>/dev/null \
1614
1715# Uninstall innovation engine
1816.PHONY : uninstall-ie
You can’t perform that action at this time.
0 commit comments