mirror of https://github.com/PiyushXCoder/lupt.git
no netlify
This commit is contained in:
parent
b924c4abf2
commit
a4c5a7b906
12
Makefile
12
Makefile
|
|
@ -1,12 +0,0 @@
|
||||||
.PHONY: build deploy
|
|
||||||
|
|
||||||
help: ## Show this help.
|
|
||||||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
|
||||||
|
|
||||||
build: ## Build static binary and put it in the functions directory.
|
|
||||||
@cargo build --release
|
|
||||||
@mkdir -p functions
|
|
||||||
@cp target/release/lupt functions
|
|
||||||
|
|
||||||
deploy: build ## Deploy the site using Netlify's CLI
|
|
||||||
@netlify deploy --prod
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
[build]
|
|
||||||
command = "make build"
|
|
||||||
publish = "static"
|
|
||||||
functions = "functions"
|
|
||||||
Loading…
Reference in New Issue