This commit is contained in:
commit
6a748b53ab
5 changed files with 82 additions and 0 deletions
26
.drone.yml
Normal file
26
.drone.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
kind: pipeline
|
||||
name: release
|
||||
steps:
|
||||
- name: build
|
||||
image: minlag/mermaid-cli
|
||||
commands:
|
||||
- apt install make
|
||||
- make
|
||||
|
||||
- name: publish
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://data.tilera.xyz/git
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
title: commit-${DRONE_COMMIT_SHA}
|
||||
files: build/*
|
||||
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
branch:
|
||||
- master
|
||||
|
||||
depends_on:
|
||||
- build
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
build/
|
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
.PHONY: All
|
||||
All: build/de.png build/de.svg
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
build/%.svg: %.mmd
|
||||
@mkdir -p $(@D)
|
||||
mmdc -i $< -o $@ -p ./puppeteer-config.json
|
||||
|
||||
build/%.png: %.mmd
|
||||
@mkdir -p $(@D)
|
||||
mmdc -i $< -o $@ -w 2000 -p ./puppeteer-config.json
|
36
de.mmd
Normal file
36
de.mmd
Normal file
|
@ -0,0 +1,36 @@
|
|||
flowchart TD
|
||||
A[Ist diese Programmiersprache gut?] --> B([Ist die Sprache interpretiert?])
|
||||
|
||||
I --> |Nein| Schlecht{{Die Sprache ist schlecht, sofort entsorgen!}}
|
||||
I --> |Ja| J([Wird die Sprache in einem sehr komplexem Programm wie einem Browser als Scriptsprache verwendet?])
|
||||
|
||||
J --> |Ja| K[\VM Sprache verwenden\] --> Schlecht
|
||||
J --> |Nein| D
|
||||
|
||||
B --> |Ja| I([Wird die Sprache für embedded-scripting verwendet?])
|
||||
B --> |Nein| C([Hat die Sprache dynamische Typen?])
|
||||
|
||||
C --> |Ja| Schlecht
|
||||
C --> |Nein| D([Hat die Sprache whitespace-dependant Syntax?])
|
||||
|
||||
D --> |Ja| Schlecht
|
||||
D --> |Nein| E([Funktionierd diese Sprache VOLLSTÄNDIG auf linux?])
|
||||
|
||||
E --> |Nein| Schlecht
|
||||
E --> |Ja| F([Ist die GESAMTE Toolchain FOSS?])
|
||||
|
||||
F --> |Nein| Schlecht
|
||||
F --> |Ja| G([Wurde die Sprache von Microsoft entwickelt?])
|
||||
|
||||
G --> |Ja| Schlecht
|
||||
G --> |Nein| H([Läuft die Sprache nur in einer VM?])
|
||||
|
||||
H --> |Ja| L([Wird die Sprache für embedded-scripting verwendet?])
|
||||
H --> |Nein| M([Hat die Sprache einen Garbage Collector?])
|
||||
|
||||
M --> |Ja| Gut{{Die Sprache ist gut}}
|
||||
M --> |Nein| SGut{{Die Sprache ist geil!}}
|
||||
|
||||
L --> |Nein| Ok{{Die Sprache ist akzeptabel}}
|
||||
L --> |Ja| Gut
|
||||
|
5
puppeteer-config.json
Normal file
5
puppeteer-config.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"args": [
|
||||
"--no-sandbox"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue