mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:40:05 +08:00
19 lines
458 B
Bash
Vendored
19 lines
458 B
Bash
Vendored
#!/usr/bin/env bash
|
|
|
|
java=${1}
|
|
jar_path=${2}
|
|
|
|
puml_src_path=${3}
|
|
output_dir_path=${4}
|
|
output_path=${5}
|
|
finial_path=${6}
|
|
image_type=${7}
|
|
|
|
timestamp=${8}
|
|
update_js_path=${9}
|
|
include_path=${10}
|
|
|
|
$java -Dapple.awt.UIElement=true -Djava.awt.headless=true -Dplantuml.include.path="$include_path" -jar "$jar_path" "$puml_src_path" -t$image_type -o "$output_dir_path"
|
|
cp "$output_path" "$finial_path"
|
|
echo "window.updateDiagramURL('$timestamp')" > "$update_js_path"
|