@oyl/sdk
Version:
25 lines • 588 B
Plain Text
# The default make command.
DEFAULT = help
# Use 'VERBOSE=1' to echo all commands, for example 'make help VERBOSE=1'.
ifdef VERBOSE
Q :=
else
Q := @
endif
clean
all: $(DEFAULT)
help:
$(Q)echo "make clean - Deletes binaries and documentation."
$(Q)echo "make install - Installs dependencies."
$(Q)echo "make reset - Cleans out lib and rebuilds."
clean:
$(Q)rm -rf lib
$(Q)echo "--- Deleted UI build artifacts"
install:
$(Q)yarn
$(Q)echo "--- Dependencies installed"
reset:
$(Q)rm -rf lib
$(Q)yarn run build
$(Q)echo "--- reset"