-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
36 lines (26 loc) · 863 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
##############
## Please note
##############
# First, run ``make install``.
# After that you have through Makefile extension all the other base targets 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
.PHONY: install
stamp-yarn install:
npx yarn install
# Install pre commit hook
npx yarn husky install
touch stamp-yarn
# Unlink any linked dependencies before building a bundle.
bundle-pre:
-$(YARN) unlink @patternslib/dev
-$(YARN) unlink @patternslib/patternslib
$(YARN) install --force
#