Skip to content

Instantly share code, notes, and snippets.

@deciduously
Created January 11, 2018 22:57
Show Gist options
  • Save deciduously/3451bfc89414c56ef734ceebeeb7db14 to your computer and use it in GitHub Desktop.
Save deciduously/3451bfc89414c56ef734ceebeeb7db14 to your computer and use it in GitHub Desktop.
Makefile providing boot-clj via make deps
# Makefile
.PHONY: help deps
SHELL := /bin/bash
export PATH := bin:$(PATH)
help:
@echo "Usage: make {deps|help}" 1>&2 && false
bin/boot:
(mkdir -p bin/ && \
curl -fsSLo bin/boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh && \
chmod 755 bin/boot)
deps: bin/boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment