Commit 53da359
enhancement / address build command papercuts (#153)
* copy app to build path before cleanup & composer install
* copied CleansEnvFile trait from upstream PR #106
Co-authored-by: Simon Hamp <github@simonhamp.me>
* copied updated app icon path from upstream PR #106
Co-authored-by: Simon Hamp <github@simonhamp.me>
* copied app name fix from upstream PR #106
Co-authored-by: Simon Hamp <github@simonhamp.me>
* tidy
* tidy
* added skip patterns from electron-builder & account for symlinks (for symlinked composer deps)
* add more default skip patterns
* merge upstream
* Build plugin
* wip
* remove redundant electron-builder app copy logic
* move php building from separate step to beforePack hook
* remove explicit php building from npm scripts
* tidy
* make sure database, logs, sessions & cached views are never included in builds!
* use 8.1 compatible syntax
* refactor to use symfony finder
* move vendor/bin & node_modules exclude to config file (see PR nativephp/laravel)
* fix ignore paths
* ignore vsc files
* revert back to using RecursiveDirectoryIterator
* Fix styling
* use npm ci for updating electron dependencies
* update mac x86 comment
* add PrunesVendorDirectory trait
* move default exclude list to nativephp-internal config
* Fix styling
* add comments for file relocation when more adapters are added later on
* decouple terminal messages from the build traits
* decouple source path from build traits (for testing)
* consolidate namespaces with identical purpose
* bring back default exclude list to electron repo
* fix regression
* wip - tests
* Fix styling
* add more tests
* Fix styling
* more flexibility when working with paths
* boyscouting
* add filesystem stub directories to gitignore
* add CleanEnvFile tests
* Fix styling
* add more tests
* fix unclosed bracket
* Fix styling
* dependency compatibility for php 8.1
* use php 8.1 compatible syntax
* fix - native config not loaded in CI
* wip - fix CI inconsistencies
* wip - typo
* fix typo
* Fix styling
* fix - yet another mistake
* use platform specific directory separators
Co-authored-by: @SRWieZ
* speed up tests & split by type
Co-authored-by: @SRWieZ
* Fix styling
* move app name step down
* remove mac x86 naming deviation
* add workflow_run trigger (for debugging)
* workflow dispatch instead of run
* cover unhappy path
* wip - fix test in CI
* wip - add dumps to debug CI errors
* disable flaky test (due to tight repo coupling)
* wip - fix composer version conflict after upstream merge
---------
Co-authored-by: Simon Hamp <github@simonhamp.me>
Co-authored-by: gwleuverink <17123491+gwleuverink@users.noreply.github.com>1 parent d8537f5 commit 53da359
File tree
21 files changed
+992
-434
lines changed- .github/workflows
- resources/js
- src
- Commands
- Traits
- tests
- Feature
- Unit
21 files changed
+992
-434
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 4 | + | |
10 | 5 | | |
11 | 6 | | |
| 7 | + | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | | - | |
15 | | - | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
| |||
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
| 23 | + | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
31 | | - | |
| 27 | + | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
| |||
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
50 | | - | |
51 | 43 | | |
52 | 44 | | |
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
56 | 48 | | |
57 | 49 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 50 | | |
127 | 51 | | |
128 | 52 | | |
| |||
142 | 66 | | |
143 | 67 | | |
144 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
145 | 83 | | |
146 | 84 | | |
147 | 85 | | |
| |||
0 commit comments