Skip to content

Commit

Permalink
Merge pull request #26 from squillace/patch-1
Browse files Browse the repository at this point in the history
updating make install to add /runtimes/ subdirectory
  • Loading branch information
carolynvs authored Mar 9, 2021
2 parents 908a2f5 + ef520c6 commit a525a8f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,13 @@ publish: bin/porter$(FILE_EXT)
bin/porter$(FILE_EXT):
curl -fsSLo bin/porter$(FILE_EXT) https://cdn.porter.sh/canary/porter-$(CLIENT_PLATFORM)-$(CLIENT_ARCH)$(FILE_EXT)
chmod +x bin/porter$(FILE_EXT)

install:
mkdir -p $(PORTER_HOME)/mixins/$(MIXIN)
mkdir -p $(PORTER_HOME)/mixins/$(MIXIN)/runtimes/
install $(BINDIR)/$(MIXIN)$(FILE_EXT) $(PORTER_HOME)/mixins/$(MIXIN)/$(MIXIN)$(FILE_EXT)
install $(BINDIR)/$(MIXIN)-runtime$(FILE_EXT) $(PORTER_HOME)/mixins/$(MIXIN)/$(MIXIN)-runtime$(FILE_EXT)
install $(BINDIR)/$(MIXIN)-runtime$(FILE_EXT) $(PORTER_HOME)/mixins/$(MIXIN)/runtimes/$(MIXIN)-runtime$(FILE_EXT)

clean: clean-packr
-rm -fr bin/

clean-packr: packr2
cd pkg/skeletor && packr2 clean
cd pkg/skeletor && packr2 clean

0 comments on commit a525a8f

Please sign in to comment.