Skip to content

Commit

Permalink
Version 1.8 (#1)
Browse files Browse the repository at this point in the history
* Version 1.8:
* add ci build files
* update project to go 1.20
* add setup step to makefile
* add apt statement for potentially missing library
* add apt statement for potentially missing libraries
  • Loading branch information
emschu committed Dec 27, 2023
1 parent 230fcac commit dfe5aaf
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 97 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: OERC-Build

on:
pull_request:
push:
branches:
- main
tags:
- '*'

jobs:
oerc-build:
name: Project Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20' ]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Install libraries
run: sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev

- name: Make setup
run: make setup

- name: Make package
run: make package
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ SHELL := /bin/bash

# go requirements: fyne + fyne-cross

APP_VERSION_STR = "v1-7"
APP_VERSION_DOT := "1.7"
APP_VERSION_STR = "v1-8"
APP_VERSION_DOT := "1.8"

GO := GO111MODULE=on CGO_ENABLED=1 go
GO_PATH = $(shell $(GO) env GOPATH)
Expand All @@ -16,6 +16,10 @@ all: help
help: ## show this help
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

.PHONY: setup
setup: ## setup project tools
$(GO) install fyne.io/fyne/v2/cmd/fyne@latest

.PHONY: build
build: bundle ## build project without development mode
$(GO) build -ldflags "-s -w"
Expand All @@ -32,7 +36,7 @@ bundle: ## bundle resources

.PHONY: package
package: clean build ## packages the application on the local platform
$(GO_PATH)/bin/fyne package -appVersion '1.0' -release
$(GO_PATH)/bin/fyne package -appVersion $(APP_VERSION_DOT) -release

.PHONY: release
release: clean ## release build for all platforms
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[ArchiveBox](https://github.com/ArchiveBox/ArchiveBox/) instance in the background and without interrupting your current
work.**

Version: 1.7
Version: 1.8

![App Logo](./Icon.png)

Expand Down
2 changes: 1 addition & 1 deletion bundled.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 17 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
module github.com/emschu/archivebox-quick-add

go 1.18
go 1.20

require (
fyne.io/fyne/v2 v2.3.0
github.com/nicksnyder/go-i18n/v2 v2.2.1
golang.org/x/text v0.6.0
fyne.io/fyne/v2 v2.4.3
github.com/nicksnyder/go-i18n/v2 v2.3.0
golang.org/x/text v0.14.0
)

require (
fyne.io/systray v1.10.1-0.20221129093645-3cfcb36bf8b5 // indirect
github.com/benoitkugler/textlayout v0.3.0 // indirect
fyne.io/systray v1.10.1-0.20231115130155-104f5ef7839e // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fredbi/uri v1.0.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fyne-io/gl-js v0.0.0-20220802150000-8e339395f381 // indirect
github.com/fyne-io/glfw-js v0.0.0-20220517201726-bebc2019cd33 // indirect
github.com/fyne-io/image v0.0.0-20221020213044-f609c6a24345 // indirect
github.com/fyne-io/gl-js v0.0.0-20220119005834-d2da28d9ccfe // indirect
github.com/fyne-io/glfw-js v0.0.0-20220120001248-ee7290d23504 // indirect
github.com/fyne-io/image v0.0.0-20220602074514-4956b0afb3d2 // indirect
github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20221017161538-93cebf72946b // indirect
github.com/go-text/typesetting v0.0.0-20230104230035-6cdafd18ca27 // indirect
github.com/go-text/render v0.0.0-20230619120952-35bccb6164b8 // indirect
github.com/go-text/typesetting v0.0.0-20230616162802-9c17dd34aa4a // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/goki/freetype v0.0.0-20220119013949-7a161fd3728c // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jsummers/gobmp v0.0.0-20151104160322-e2ba15ffa76e // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
github.com/stretchr/testify v1.8.1 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/tevino/abool v1.2.0 // indirect
github.com/yuin/goldmark v1.5.3 // indirect
golang.org/x/image v0.3.0 // indirect
golang.org/x/mobile v0.0.0-20221110043201-43a038452099 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/sys v0.4.0 // indirect
github.com/yuin/goldmark v1.5.5 // indirect
golang.org/x/image v0.11.0 // indirect
golang.org/x/mobile v0.0.0-20230531173138-3c911d8e3eda // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/js/dom v0.0.0-20221001195520-26252dedbe70 // indirect
honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2 // indirect
)
Loading

0 comments on commit dfe5aaf

Please sign in to comment.