-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
27 lines (20 loc) 路 627 Bytes
/
Makefile
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
SHELL:=/usr/bin/env bash
PREFIX=$(HOME)/.local/bin
CONFIG_DIR=$(HOME)/.config/miniprompt
BASHRC=$(HOME)/.bashrc
LOG_INFO=$(shell date +"%H:%M:%S") \e[0;34mINFO\e[0m
LOG_ERROR=$(shell date +"%H:%M:%S") \e[1;31mERROR\e[0m
LOG_WARNING=$(shell date +"%H:%M:%S") \e[0;33mWARNING\e[0m
LOG_SUCCESS=$(shell date +"%H:%M:%S") \e[0;32mSUCCESS\e[0m
.DEFAULT_GOAL := install
INSTALLATION_MEDIUM=any
install:
@./scripts/install.sh $(CURDIR) $(PREFIX)
uninstall:
@./scripts/uninstall.sh $(PREFIX)
run:
@echo -e "$(LOG_INFO) Running MiniPrompt...\n"
./miniprompt
publish:
@echo -e "$(LOG_INFO) Publishing to NPM..."
@npm publish