~dricottone/digestion

ee94f07cfd199e1fd4738e541dae35d3e957ff93 — Dominic Ricottone 2 years ago 4ee014a
Updating go version, dependency version, and module name
7 files changed, 20 insertions(+), 13 deletions(-)

M .gitignore
M Makefile
M go.mod
D go.sum
M main.go
M message/format.go
M message/part.go
M .gitignore => .gitignore +2 -0
@@ 1,1 1,3 @@
digestion
go.sum


M Makefile => Makefile +10 -3
@@ 1,13 1,20 @@
SHARE_DIR?=/usr/local/share
INSTALL_DIR?=$(SHARE_DIR)/mail-filters
GO_FILES=$(shell find -name '*.go')

.PHONY: clean
clean:
	rm -rf digestion
	rm -rf digestion go.sum

build:
digestion: $(GO_FILES)
	go get -u
	go build

install: build
.PHONY: build
build: digestion

.PHONY: install
install: digestion
	mkdir -m755 -p $(INSTALL_DIR)
	install -m755 digestion $(INSTALL_DIR)/digestion


M go.mod => go.mod +3 -3
@@ 1,5 1,5 @@
module git.dominic-ricottone.com/digestion
module git.dominic-ricottone.com/~dricottone/digestion

go 1.18
go 1.19

require git.dominic-ricottone.com/textwrap v0.0.2
require git.dominic-ricottone.com/~dricottone/textwrap v0.0.3

D go.sum => go.sum +0 -2
@@ 1,2 0,0 @@
git.dominic-ricottone.com/textwrap v0.0.2 h1:BoCxezIxM2i/Mvs8gREB4XSLmQh+5DHmiEW/jiwdUbA=
git.dominic-ricottone.com/textwrap v0.0.2/go.mod h1:oMsi+AbzUET9rjr9bDbtRUhD+bUPNjWMCIEhsLK80ZA=

M main.go => main.go +1 -1
@@ 9,7 9,7 @@ import (
	"regexp"
	"flag"

	"git.dominic-ricottone.com/digestion/message"
	"git.dominic-ricottone.com/~dricottone/digestion/message"
)

const LINE_LENGTH = 80

M message/format.go => message/format.go +2 -2
@@ 4,9 4,9 @@ import (
	"fmt"
	"strings"

	textwrap "git.dominic-ricottone.com/textwrap/common"
	textwrap "git.dominic-ricottone.com/~dricottone/textwrap/common"

	"git.dominic-ricottone.com/digestion/decoder"
	"git.dominic-ricottone.com/~dricottone/digestion/decoder"
)

func (m *Message) determine_best_part() int {

M message/part.go => message/part.go +2 -2
@@ 1,8 1,8 @@
package message

import (
	"git.dominic-ricottone.com/digestion/decoder"
	"git.dominic-ricottone.com/digestion/renderer"
	"git.dominic-ricottone.com/~dricottone/digestion/decoder"
	"git.dominic-ricottone.com/~dricottone/digestion/renderer"
)

type MessagePart struct {