- Elixir 1.6 Overview
- "Getting started with Elixir"
- What is functional programming?
- OTP
- Testing/TDD in Elixir
- Pattern Matching
- Recursion
- Deployments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let glob = require("glob") | |
exports.config = { | |
files: { | |
javascripts: { | |
joinTo: { | |
'js/app.js': /^(js)/, | |
'js/vendor.js': /^node_modules/, | |
}, | |
}, |
Makefile:
build-release:
echo "Make sure you bumped the version in mix.exs"
$(eval VERSION := $(shell sed -n '/version:/s/ *version: "\(.*\)",/\1/p' mix.exs))
sleep 3
mix deps.get
cd assets && ./node_modules/brunch/bin/brunch b -p
MIX_ENV=prod mix phx.digest
docker run -it -v `pwd`:/src --rm --workdir /src -e MIX_ENV=prod erlang-builder mix do deps.clean comeonin, deps.get, compile, release --env=prod