forked from hashrocket/tilex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 787 Bytes
/
Makefile
File metadata and controls
37 lines (28 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!make
include .env
.PHONY: help console outdated setup server test update
.env:
cp .env.example .env
help: ## Shows this help.
@grep ": \#" ${MAKEFILE_LIST} | column -t -s ':' | sort
console: ## Opens the App console.
iex -S mix
outdated: ## Shows outdated packages.
mix hex.outdated
setup: ## Setup the App.
mix local.hex --force
mix setup
mix gettext.extract --merge --no-fuzzy
server: ## Start the App server.
npm install --prefix assets/
mix phx.server
test: ## Run the test suite.
mix format
mix credo
echo "chromedriver => `chromedriver --version`"
echo "chrome => `/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version`"
rm -f screenshots/*
mkdir -p screenshots/
mix test --trace
update: ## Update dependencies.
mix deps.update --all