You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build-scripts.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,12 @@
1
1
## Build scripts
2
2
3
+
### Overview
4
+
```mermaid
5
+
graph TD
6
+
A[wikiman.yaml]-->|wikiman|B[pacman.yaml]
7
+
B-->|pacman|C[dist folder with things in it]
8
+
```
9
+
3
10
### sync.sh
4
11
5
12
This script will resync the `dist` directory.
@@ -12,6 +19,10 @@ This is made up of a series of steps:
12
19
-`04-docker-compose`: Perform a composer install
13
20
-`05-docker-entrypoint-overrides`: Add the WBStack shims to MediaWiki entrypoints
14
21
22
+
Assuming neither `dist-persist` directory or `pacman.yaml` have changed then running this script should almost be a no-op. The only files we expect to change are composer autoload files and composer's own vendor folder.
23
+
24
+
There is a GitHub Action [Workflow](../.github/workflows/wbstack.sync.check.yml) running to attempt to ensure that `sync.sh` has been run on every commit so that the dist directory does not get out of sync from what it is built from.
25
+
15
26
### wikiman & pacman
16
27
17
28
`wikiman` is a MediaWiki specific yaml generator for pacman.
0 commit comments