-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 774 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 774 Bytes
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
-include .makefiles/Makefile
-include .makefiles/pkg/js/v1/Makefile
-include .makefiles/pkg/js/v1/with-npm.mk
-include .makefiles/pkg/js/v1/with-webpack.mk
.makefiles/%:
@curl -sfL https://makefiles.dev/v1 | bash /dev/stdin "$@"
################################################################################
# run --- Run the application locally.
.PHONY: run
run: webpack-serve
# webpack-serve --- Run the Webpack development server.
.PHONY: webpack-serve
webpack-serve: artifacts/link-dependencies.touch
$(JS_EXEC) webpack serve
################################################################################
artifacts/site: artifacts/webpack/build/production README.md
@rm -rf "$@"
@mkdir -p "$(@D)"
cp -a "$<" "$@"
cp README.md "$@"
touch "$@/.nojekyll"