Browse Source

Add a make target to build on production

tags/v0.2.0^2
Bèr Kessels 2 years ago
parent
commit
20f988f4d6
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Makefile

+ 4
- 1
Makefile View File

@@ -3,7 +3,7 @@ CMD_PREFIX=bundle exec
# You want latexmk to *always* run, because make does not have all the info.
# Also, include non-file targets in .PHONY so they are run regardless of any
# file of the given name existing.
.PHONY: all test lint clean setup ruby run packages preprocess
.PHONY: all test lint clean setup ruby run packages preprocess deploy_production

# The first rule in a Makefile is the one executed by default ("make"). It
# should always be the "all" rule, so that "make" and "make all" are identical.
@@ -23,6 +23,9 @@ clean:
run:
$(CMD_PREFIX) foreman start

deploy_production:
$(CMD_PREFIX) cap production deploy

##
# Set up the project for building
setup: ruby packages

Loading…
Cancel
Save