Skip to content

Instantly share code, notes, and snippets.

@iver
Last active June 3, 2016 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iver/cc3f438d54c628ab8ec4d42ae2fc45cd to your computer and use it in GitHub Desktop.
Save iver/cc3f438d54c628ab8ec4d42ae2fc45cd to your computer and use it in GitHub Desktop.
Makefile for phoenix project
SHELL := /bin/bash
ACTUAL := $(shell pwd)
MIX_ENV=dev
export MIX_ENV
export ACTUAL
all: release
clean:
mix deps.clean --all
compile:
mix deps.get
mix deps.compile
mix compile
release: clean compile
brunch build --production
mix phoenix.digest
mix release
@echo "Release para MIX_ENV=${MIX_ENV} generado!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment