2018-03-29 04:31:36 +00:00
|
|
|
.PHONY: microcule
|
|
|
|
microcule: mcstream.js
|
|
|
|
microcule $<
|
|
|
|
|
|
|
|
.PHONY: aws
|
|
|
|
aws: lambda-proxy
|
|
|
|
|
|
|
|
.PHONY: lambda-proxy
|
|
|
|
lambda-proxy:
|
2022-04-14 07:27:38 +00:00
|
|
|
cd LambdaProxy; mkdir -p node_modules; npm install https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz busboy; sam local start-api; cd -
|
2018-03-29 04:31:36 +00:00
|
|
|
|
2020-06-25 19:30:56 +00:00
|
|
|
.PHONY: init-azure
|
|
|
|
init-azure:
|
2022-04-14 07:27:38 +00:00
|
|
|
cd AzureHTTPTrigger; mkdir -p node_modules; npm install https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz formidable fs
|
2020-06-25 19:30:56 +00:00
|
|
|
|
2018-03-29 04:31:36 +00:00
|
|
|
.PHONY: azure
|
2020-06-25 19:30:56 +00:00
|
|
|
azure: init-azure
|
2018-03-29 04:31:36 +00:00
|
|
|
func start
|
|
|
|
|
|
|
|
.PHONY: azure-server
|
|
|
|
azure-server:
|
|
|
|
mkdir -p /tmp/azurite
|
|
|
|
azurite -l /tmp/azurite
|
|
|
|
|
|
|
|
FILES=$(filter-out xlsx.full.min.js,$(wildcard *.js)) $(wildcard *.html)
|
|
|
|
.PHONY: lint
|
|
|
|
lint: $(FILES)
|
|
|
|
eslint $(FILES)
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f *.db *.xlsx *.csv
|