File tree Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : default
2
2
3
- default :
4
- @echo No default target.
3
+ default : release
4
+
5
+ release : ui-build
6
+ make -C ./crates/http-server release
5
7
6
8
ui-build :
7
9
make -C ./crates/file-explorer-ui release
Original file line number Diff line number Diff line change 18
18
19
19
</div >
20
20
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
24
24
25
- ## Installation
25
+ Build release binaries with:
26
26
27
27
``` bash
28
- cargo install http-server
28
+ make release
29
29
```
30
30
31
- Verify successful installation.
31
+ Then use the following _ alias _ for convenience
32
32
33
33
``` bash
34
- http-server --help
34
+ alias htps = ' ./target/release/ http-server'
35
35
```
36
36
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
-
42
37
## Release
43
38
44
39
In order to create a release you must push a Git tag as follows
Original file line number Diff line number Diff line change
1
+ .PHONY : default
2
+
3
+ default :
4
+ cargo r -- start
5
+
6
+ release :
7
+ cargo b --release
You can’t perform that action at this time.
0 commit comments