-
-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathMakefile
48 lines (32 loc) · 995 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
##############
## Please note
##############
# First, run ``make install``.
# After that you have all the targets from @patternslib/dev available.
# If you want to release on GitHub, make sure to have a .env file with a GITHUB_TOKEN.
# Also see:
# https://github.com/settings/tokens
# and https://github.com/release-it/release-it/blob/master/docs/github-releases.md#automated
# Include base Makefile
-include node_modules/@patternslib/dev/Makefile
# Define the GITHUB_TOKEN in the .env file for usage with release-it.
-include .env
export
YARN ?= npx yarn
yarn.lock install:
$(YARN) install
.PHONY:
watch-plone:
$(YARN) run watch:webpack:plone
.PHONY:
bundle-plone:
$(YARN) run build:webpack:plone
.PHONY: bundle
bundle: install
$(YARN) run build:webpack
# Unlink any linked dependencies before building a bundle.
bundle-pre:
-$(YARN) unlink @patternslib/dev
-$(YARN) unlink @patternslib/pat-code-editor
-$(YARN) unlink @patternslib/patternslib
$(YARN) install --force