From 21d17514da4fd5621e767b50d6d68e61b21990a5 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 30 Dec 2023 14:22:05 -0800 Subject: [PATCH] Update MdView link --- README.md | 10 +--------- build.sh | 22 ---------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100755 build.sh diff --git a/README.md b/README.md index c13b3ab..9f7dfbc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ MdView recursively renders the parent directory of the user-provided file and se ## Usage -Simply execute MdView with the path of the Markdown file you wish to view: +Execute MdView with the path of the Markdown file you wish to view: ``` mdview path/to/file.md ``` @@ -26,11 +26,3 @@ Parameters: -port int port (default 8080) ``` - -## Installation - -If you already have the Go environment and toolchain set up, you can get the latest version by running: -``` -go install foosoft.net/projects/mdview@latest -``` -Otherwise, you can use the [pre-built binaries](https://github.com/FooSoft/mdview/releases) from the project page. diff --git a/build.sh b/build.sh deleted file mode 100755 index a9eaceb..0000000 --- a/build.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/bash - -rm -rf ./build -export GOARCH=amd64 - -export GOOS=windows -go build -o ./build/$GOOS/mdview/ . -pushd build/$GOOS -7za a mdview.$GOOS.zip mdview -popd - -export GOOS=linux -go build -o ./build/$GOOS/mdview/ . -pushd build/$GOOS -tar czvf mdview.$GOOS.tar.gz mdview -popd - -export GOOS=darwin -go build -o ./build/$GOOS/mdview/ . -pushd build/$GOOS -tar czvf mdview.$GOOS.tar.gz mdview -popd