-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: Disabled image support by default (#1)
- Loading branch information
Showing
4 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,24 +169,25 @@ steps: | |
commands: | ||
- git clone https://github.com/wjdp/gotdict | ||
- git -C gotdict checkout 0a675ef59b5068a91315d594f807dc8d9ae4a777 | ||
- ./gotdict-convert -o gotdict.noimg.df | ||
- ./gotdict-convert -o gotdict.df --images | ||
- ./gotdict-convert -o gotdict.df | ||
- ./gotdict-convert -o gotdict.img.df --images | ||
- ls -lah gotdict.df | ||
- name: generate | ||
image: golang:1.13-buster | ||
commands: | ||
- apt-get update -qqy && apt-get install -qqy swig | ||
- go run ./cmd/dictgen -o dicthtml-gt.noimg.zip gotdict.noimg.df | ||
- go run ./cmd/dictgen -o dicthtml-gt.zip gotdict.df | ||
- go run ./cmd/dictgen -Iremove -o dicthtml-gt.zip gotdict.df | ||
- go run ./cmd/dictgen -Ibase64 -o dicthtml-gt.img.zip gotdict.img.df | ||
- ls -lah dicthtml-gt.zip | ||
- name: upload | ||
image: curlimages/curl | ||
entrypoint: ["/bin/bash"] | ||
commands: | ||
- "curl --no-progress-meter -F '[email protected]' 'https://api.anonfile.com/upload' | grep -Eo '\"full\": *\"[^\"]+' | cut -d'\"' -f4" | ||
- "curl --no-progress-meter -F '[email protected]' 'https://api.anonfile.com/upload' | grep -Eo '\"full\": *\"[^\"]+' | cut -d'\"' -f4" | ||
- "curl --no-progress-meter -F '[email protected]' 'https://api.anonfile.com/upload' | grep -Eo '\"full\": *\"[^\"]+' | cut -d'\"' -f4" | ||
- "curl --no-progress-meter -F '[email protected]' 'https://api.anonfile.com/upload' | grep -Eo '\"full\": *\"[^\"]+' | cut -d'\"' -f4" | ||
- "echo; echo 'Don't use the dictionaries with images below right now; nickel is currently too buggy with images.'" | ||
- "curl --no-progress-meter -F '[email protected]' 'https://api.anonfile.com/upload' | grep -Eo '\"full\": *\"[^\"]+' | cut -d'\"' -f4" | ||
- "curl --no-progress-meter -F '[email protected]' 'https://api.anonfile.com/upload' | grep -Eo '\"full\": *\"[^\"]+' | cut -d'\"' -f4" | ||
|
||
depends_on: [dictgen-cmd] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters