mirror of
https://code.rocketnine.space/tslocum/gmitohtml.git
synced 2024-11-27 11:48:13 +01:00
Add download link to README
This commit is contained in:
parent
d17e5ab9cf
commit
7859f1946d
4 changed files with 36 additions and 4 deletions
2
CHANGELOG
Normal file
2
CHANGELOG
Normal file
|
@ -0,0 +1,2 @@
|
|||
1.0.0:
|
||||
- Initial release
|
|
@ -8,6 +8,10 @@ conversion tool and daemon
|
|||
|
||||
## Download
|
||||
|
||||
[**Download gmitohtml**](https://gmitohtml.rocketnine.space/download/?sort=name&order=desc)
|
||||
|
||||
## Compile
|
||||
|
||||
gmitohtml is written in [Go](https://golang.org). Run the following command to
|
||||
download and build gmitohtml from source.
|
||||
|
||||
|
|
27
goreleaser.yml
Normal file
27
goreleaser.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
project_name: gmitohtml
|
||||
|
||||
builds:
|
||||
-
|
||||
id: gmitohtml
|
||||
ldflags:
|
||||
- -s -w
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
goarch:
|
||||
- 386
|
||||
- amd64
|
||||
archives:
|
||||
-
|
||||
id: gmitohtml
|
||||
builds:
|
||||
- gmitohtml
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
files:
|
||||
- ./*.md
|
||||
- CHANGELOG
|
||||
- LICENSE
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
7
main.go
7
main.go
|
@ -1,10 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"path"
|
||||
|
||||
"gitlab.com/tslocum/gmitohtml/pkg/gmitohtml"
|
||||
|
||||
"flag"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
|
@ -12,7 +8,10 @@ import (
|
|||
"net/url"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path"
|
||||
"runtime"
|
||||
|
||||
"gitlab.com/tslocum/gmitohtml/pkg/gmitohtml"
|
||||
)
|
||||
|
||||
func openBrowser(url string) {
|
||||
|
|
Loading…
Reference in a new issue