Skip to content

Instantly share code, notes, and snippets.

@daisuke-morita
Created February 7, 2016 03:07
Embed
What would you like to do?
build-release.sh - リリースパッケージをビルドする
#!/bin/bash
set -ex
mix do deps.get, deps.compile, compile
node -v
npm install
export MIX_ENV="prod"
mkdir -p priv/static
node node_modules/brunch/bin/brunch build
mix do phoenix.digest, compile, release --verbosity=verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment