Skip to content

Commit de31d63

Browse files
committed
Apply make-dir/deep HOTLIB-PATH.
1 parent d4f5b21 commit de31d63

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Hot is a build tool that provides tasks for creating, compiling, and testing Red
44
## Installation
55
```sh
66
# MSDOS
7-
> wget https://github.com/nabinno/hot/releases/download/0.0.2/hot-msdos.exe -outf ~/.local/bin/hot.exe
7+
> wget https://github.com/nabinno/hot/releases/download/0.0.3/hot-msdos.exe -outf ~/.local/bin/hot.exe
88

99
# Linux
10-
> wget https://github.com/nabinno/hot/releases/download/0.0.2/hot-linux -O ~/.local/bin/hot
10+
> wget https://github.com/nabinno/hot/releases/download/0.0.3/hot-linux -O ~/.local/bin/hot
1111
> chmod 744 ~/.local/bin/hot
1212

1313
# Darwin
14-
> wget https://github.com/nabinno/hot/releases/download/0.0.2/hot-darwin -O ~/.local/bin/hot
14+
> wget https://github.com/nabinno/hot/releases/download/0.0.3/hot-darwin -O ~/.local/bin/hot
1515
> chmod 744 ~/.local/bin/hot
1616
```
1717

hot.red

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Red []
22

33
CURRENT-CMD: to-block system/script/args
44
HOTLIB-PATH: to-red-file rejoin [get-env either system/platform == 'Windows ["USERPROFILE"]["HOME"] %/.hot/]
5+
unless exists? HOTLIB-PATH [make-dir/deep HOTLIB-PATH]
56

67
foreach file read HOTLIB-PATH [
78
do/args rejoin [HOTLIB-PATH file] system/options/path

0 commit comments

Comments
 (0)