Compare commits
4 Commits
68756014be
...
chore/mini
| Author | SHA1 | Date | |
|---|---|---|---|
| b59c939e3e | |||
| 3a30c7a6f4 | |||
| bdab11b100 | |||
| d3f6f0e946 |
12
.drone.yml
12
.drone.yml
@@ -3,10 +3,6 @@ kind: pipeline
|
||||
type: kubernetes
|
||||
name: build-clis
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.17
|
||||
@@ -19,6 +15,7 @@ steps:
|
||||
source: dist/*
|
||||
target: /dist/
|
||||
strip_prefix: dist/
|
||||
acl: readonly
|
||||
|
||||
path_style: true
|
||||
endpoint: https://s3.blacknova.io
|
||||
@@ -32,10 +29,6 @@ kind: pipeline
|
||||
type: kubernetes
|
||||
name: build-wasm
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.17
|
||||
@@ -44,8 +37,6 @@ steps:
|
||||
GOARCH: wasm
|
||||
commands:
|
||||
- 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
|
||||
image: plugins/s3
|
||||
settings:
|
||||
@@ -53,6 +44,7 @@ steps:
|
||||
source: assets/**/*
|
||||
target: /
|
||||
strip_prefix: assets/
|
||||
acl: readonly
|
||||
|
||||
path_style: true
|
||||
endpoint: https://s3.blacknova.io
|
||||
|
||||
20
README.md
20
README.md
@@ -1,20 +0,0 @@
|
||||
# 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,11 +89,5 @@
|
||||
<iframe id="front"></iframe>
|
||||
<iframe id="back"></iframe>
|
||||
</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>
|
||||
</html>
|
||||
Reference in New Issue
Block a user