Browse Source

Add a make target to build on production

tags/v0.2.0^2
Bèr Kessels 1 year 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
3 3
 # You want latexmk to *always* run, because make does not have all the info.
4 4
 # Also, include non-file targets in .PHONY so they are run regardless of any
5 5
 # file of the given name existing.
6
-.PHONY: all test lint clean setup ruby run packages preprocess
6
+.PHONY: all test lint clean setup ruby run packages preprocess deploy_production
7 7
 
8 8
 # The first rule in a Makefile is the one executed by default ("make"). It
9 9
 # should always be the "all" rule, so that "make" and "make all" are identical.
@@ -23,6 +23,9 @@ clean:
23 23
 run:
24 24
 	$(CMD_PREFIX) foreman start
25 25
 
26
+deploy_production:
27
+	$(CMD_PREFIX) cap production deploy
28
+
26 29
 ##
27 30
 # Set up the project for building
28 31
 setup: ruby packages

Loading…
Cancel
Save