Skip to content

Instantly share code, notes, and snippets.

@josiah-wolf-oberholtzer
Created January 9, 2016 04:36
Show Gist options
  • Save josiah-wolf-oberholtzer/dddff9619dd991a2ce95 to your computer and use it in GitHub Desktop.
Save josiah-wolf-oberholtzer/dddff9619dd991a2ce95 to your computer and use it in GitHub Desktop.
Using private keys in a Makefile
all: private-plugin-one private-plugin-two
private-plugin-one:
. ./private-keys.conf && \
echo "Installing plugin one with private key \"$$PLUGIN_ONE_KEY\""
private-plugin-two:
. ./private-keys.conf && \
echo "Installing plugin two with private key \"$$PLUGIN_TWO_KEY\""
PLUGIN_ONE_KEY="foo"
PLUGIN_TWO_KEY="bar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment