File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
src/Symfony/Bundle/WebProfilerBundle
Resources/views/Script/Mermaid Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
vendor /
2
2
composer.lock
3
3
phpunit.xml
4
+ /Resources /views /Script /Mermaid /repo- *
Original file line number Diff line number Diff line change @@ -12,15 +12,16 @@ export const addDiagrams = () => {
12
12
};
13
13
endef
14
14
15
+ tag ?= v10.9.0
16
+
15
17
.PHONY : mermaid-flowchart-v2.min.js
16
- mermaid-flowchart-v2.min.js : | mermaid -$(if $( tag ) , $( tag ) , $( error missing “tag” variable) ) /node_modules
17
- $(file >mermaid -$(tag ) /packages/mermaid/src/diagram-api/diagram-orchestration.ts,$(diagram-orchestration ) )
18
- pnpm -C mermaid -$(tag ) run build
19
- cp mermaid -$(tag ) /packages/mermaid/dist/mermaid.min.js $@
18
+ mermaid-flowchart-v2.min.js : | repo -$(tag ) /node_modules
19
+ $(file >repo -$(tag ) /packages/mermaid/src/diagram-api/diagram-orchestration.ts,$(diagram-orchestration ) )
20
+ pnpm -C repo -$(tag ) run build
21
+ cp repo -$(tag ) /packages/mermaid/dist/mermaid.min.js $@
20
22
21
- mermaid -% /node_modules : | mermaid -%
23
+ repo -% /node_modules : | repo -%
22
24
pnpm -C $(@D ) install --ignore-scripts
23
25
24
- mermaid -% :
26
+ repo -% :
25
27
curl -fL https://github.com/mermaid-js/mermaid/archive/refs/tags/$* .tar.gz | tar -xz --strip-components=1 --one-top-level=$@
26
-
You can’t perform that action at this time.
0 commit comments