Skip to content

Commit a0ea564

Browse files
committed
chore: provide convenience dev scripts
1 parent 8010b7f commit a0ea564

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.PHONY: default
22

3-
default:
4-
@echo No default target.
3+
default: release
4+
5+
release: ui-build
6+
make -C ./crates/http-server release
57

68
ui-build:
79
make -C ./crates/file-explorer-ui release

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,22 @@
1818

1919
</div>
2020

21-
<div align="center">
22-
<img src="https://github.com/http-server-rs/http-server/blob/main/docs/screenshot.png?raw=true" width="600" />
23-
</div>
21+
## Development
22+
23+
### Release Build
2424

25-
## Installation
25+
Build release binaries with:
2626

2727
```bash
28-
cargo install http-server
28+
make release
2929
```
3030

31-
Verify successful installation.
31+
Then use the following _alias_ for convenience
3232

3333
```bash
34-
http-server --help
34+
alias htps = './target/release/http-server'
3535
```
3636

37-
## Development
38-
39-
Since November the 17th of 2024 the version `v0.x` is now LTS and will not receive
40-
further updates. The current version is `v1.x` and is on active development.
41-
4237
## Release
4338

4439
In order to create a release you must push a Git tag as follows

crates/http-server/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: default
2+
3+
default:
4+
cargo r -- start
5+
6+
release:
7+
cargo b --release

0 commit comments

Comments
 (0)