forked from brefphp/bref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (26 loc) · 916 Bytes
/
Makefile
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
.EXPORT_ALL_VARIABLES:
# Build the PHP runtimes
runtimes:
cd runtime && make publish
# Generate and deploy the production version of the website using http://couscous.io
website:
# See http://couscous.io/
couscous generate
netlify deploy --prod --dir=.couscous/generated
website-staging:
couscous generate
netlify deploy --dir=.couscous/generated
# Run a local preview of the website using http://couscous.io
website-preview:
couscous preview
website-assets: website/template/output.css
website/template/output.css: website/node_modules website/template/styles.css website/tailwind.js
./website/node_modules/.bin/tailwind build website/template/styles.css -c website/tailwind.js -o website/template/output.css
website/node_modules:
yarn install
# Deploy the demo functions
demo:
serverless deploy
layers.json:
php runtime/layer-list.php
.PHONY: runtimes website website-preview website-assets demo