Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a525a8f

Browse files
authoredMar 9, 2021
Merge pull request #26 from squillace/patch-1
updating make install to add /runtimes/ subdirectory
2 parents 908a2f5 + ef520c6 commit a525a8f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,13 @@ publish: bin/porter$(FILE_EXT)
9696
bin/porter$(FILE_EXT):
9797
curl -fsSLo bin/porter$(FILE_EXT) https://cdn.porter.sh/canary/porter-$(CLIENT_PLATFORM)-$(CLIENT_ARCH)$(FILE_EXT)
9898
chmod +x bin/porter$(FILE_EXT)
99-
10099
install:
101-
mkdir -p $(PORTER_HOME)/mixins/$(MIXIN)
100+
mkdir -p $(PORTER_HOME)/mixins/$(MIXIN)/runtimes/
102101
install $(BINDIR)/$(MIXIN)$(FILE_EXT) $(PORTER_HOME)/mixins/$(MIXIN)/$(MIXIN)$(FILE_EXT)
103-
install $(BINDIR)/$(MIXIN)-runtime$(FILE_EXT) $(PORTER_HOME)/mixins/$(MIXIN)/$(MIXIN)-runtime$(FILE_EXT)
102+
install $(BINDIR)/$(MIXIN)-runtime$(FILE_EXT) $(PORTER_HOME)/mixins/$(MIXIN)/runtimes/$(MIXIN)-runtime$(FILE_EXT)
104103

105104
clean: clean-packr
106105
-rm -fr bin/
107106

108107
clean-packr: packr2
109-
cd pkg/skeletor && packr2 clean
108+
cd pkg/skeletor && packr2 clean

0 commit comments

Comments
 (0)
Please sign in to comment.