Compare commits
6 Commits
chore/mini
...
68756014be
| Author | SHA1 | Date | |
|---|---|---|---|
| 68756014be | |||
| 79f8adaf1a | |||
| 4413fab9ad | |||
| e89acf585f | |||
| 2a0bfd0e10 | |||
| ac4b86fd03 |
12
.drone.yml
12
.drone.yml
@@ -3,6 +3,10 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: build-clis
|
name: build-clis
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
@@ -15,7 +19,6 @@ steps:
|
|||||||
source: dist/*
|
source: dist/*
|
||||||
target: /dist/
|
target: /dist/
|
||||||
strip_prefix: dist/
|
strip_prefix: dist/
|
||||||
acl: readonly
|
|
||||||
|
|
||||||
path_style: true
|
path_style: true
|
||||||
endpoint: https://s3.blacknova.io
|
endpoint: https://s3.blacknova.io
|
||||||
@@ -29,6 +32,10 @@ kind: pipeline
|
|||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: build-wasm
|
name: build-wasm
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
@@ -37,6 +44,8 @@ steps:
|
|||||||
GOARCH: wasm
|
GOARCH: wasm
|
||||||
commands:
|
commands:
|
||||||
- make wasm
|
- make wasm
|
||||||
|
# Grab the wasm shim from the docker image, otherwise there is a mismatch
|
||||||
|
- "cp /usr/local/go/misc/wasm/wasm_exec.js assets/wasm_exec.js"
|
||||||
- name: upload
|
- name: upload
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
settings:
|
settings:
|
||||||
@@ -44,7 +53,6 @@ steps:
|
|||||||
source: assets/**/*
|
source: assets/**/*
|
||||||
target: /
|
target: /
|
||||||
strip_prefix: assets/
|
strip_prefix: assets/
|
||||||
acl: readonly
|
|
||||||
|
|
||||||
path_style: true
|
path_style: true
|
||||||
endpoint: https://s3.blacknova.io
|
endpoint: https://s3.blacknova.io
|
||||||
|
|||||||
20
README.md
Normal file
20
README.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Covergen
|
||||||
|
|
||||||
|
Just generates some magic PDF invoice covers using straight up dark magic.
|
||||||
|
|
||||||
|
## Just be lazy
|
||||||
|
|
||||||
|
Go see it in action and download it from [https://s3.blacknova.io/covergen/index.html](https://s3.blacknova.io/covergen/index.html)
|
||||||
|
|
||||||
|
## Just build it
|
||||||
|
|
||||||
|
```
|
||||||
|
$ go build -o covergen ./cmd/covergen
|
||||||
|
```
|
||||||
|
|
||||||
|
## It has wasm!
|
||||||
|
|
||||||
|
```
|
||||||
|
$ make wasm
|
||||||
|
```
|
||||||
|
|
||||||
@@ -89,5 +89,11 @@
|
|||||||
<iframe id="front"></iframe>
|
<iframe id="front"></iframe>
|
||||||
<iframe id="back"></iframe>
|
<iframe id="back"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="download-links">
|
||||||
|
Download the CLI:
|
||||||
|
<a href="./dist/covergen.linux-amd64">Linux amd64</a>
|
||||||
|
<a href="./dist/covergen.darwin-amd64">Darwin amd64</a>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user