chore(make): add 'sf' target for running from source
This commit is contained in:
parent
dff521a506
commit
d0925d8d31
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -2,7 +2,7 @@ SHELL := /usr/bin/env bash
|
||||||
|
|
||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
|
|
||||||
.PHONY: help install build build-core test typecheck native clean
|
.PHONY: help install build build-core test typecheck native clean sf
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@printf "Available targets:\n"
|
@printf "Available targets:\n"
|
||||||
|
|
@ -13,6 +13,7 @@ help:
|
||||||
@printf " typecheck Run TypeScript type checking\n"
|
@printf " typecheck Run TypeScript type checking\n"
|
||||||
@printf " native Build native components\n"
|
@printf " native Build native components\n"
|
||||||
@printf " clean Remove generated build outputs\n"
|
@printf " clean Remove generated build outputs\n"
|
||||||
|
@printf " sf Run SF from source (passes args via ARGS=...)\n"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
npm install
|
npm install
|
||||||
|
|
@ -34,3 +35,6 @@ native:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf dist dist-test
|
rm -rf dist dist-test
|
||||||
|
|
||||||
|
sf:
|
||||||
|
./bin/sf-from-source $(ARGS)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue