add version to build script, minor readme change

This commit is contained in:
Cyberes 2024-03-17 20:46:33 -06:00
parent 6348f33658
commit c4d9316a05
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,8 @@ to keep things responsive and server load low. I gave up and decided to create m
You absolutely need an SSD for this. With an SSD, my server was able to crawl over 6 million files stored in a very You absolutely need an SSD for this. With an SSD, my server was able to crawl over 6 million files stored in a very
complicated directory tree in just 5 minutes. complicated directory tree in just 5 minutes.
This was designed to run on a Linux machine. Not sure if this works on Windows.
## Features ## Features
- Automated cache management. Fill the cache when the starts, or as requests come in. - Automated cache management. Fill the cache when the starts, or as requests come in.
@ -41,4 +43,5 @@ machine.
You'll need something like Nginx if you want SSL or HTTP. Also, CrazyFS works great with an HTTP cache in front of it. You'll need something like Nginx if you want SSL or HTTP. Also, CrazyFS works great with an HTTP cache in front of it.
## To Do ## To Do
- [ ] Remove symlink support. - [ ] Remove symlink support.

View File

@ -11,7 +11,7 @@ fi
mkdir -p "$SCRIPT_DIR/dist" mkdir -p "$SCRIPT_DIR/dist"
BUILDARGS="$(uname)-$(uname -p)" BUILDARGS="$(uname)-$(uname -p)"
OUTPUTFILE="$SCRIPT_DIR/dist/crazyfs-$BUILDARGS" OUTPUTFILE="$SCRIPT_DIR/dist/crazyfs-$VERSION-$BUILDARGS"
cd "$SCRIPT_DIR/src" || exit 1 cd "$SCRIPT_DIR/src" || exit 1
go mod tidy go mod tidy