FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
jphp-android/package.build.php at master · jphp-group/jphp-android · GitHub
jphp-group
/
jphp-android
Public
Notifications
You must be signed in to change notification settings
Fork
7
Star
30
Code
Issues
3
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
jphp-android
/
package.build.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (21 loc) · 783 Bytes
Breadcrumbs
jphp-android
/
package.build.php
Copy path
File metadata and controls
26 lines (21 loc) · 783 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
use
packager
\
Event
;
/**
* @param Event $event
* @jppm-task build
* @jppm-description Build all project modules
*/
function
task_build
(
Event
$
event
) {
foreach
(
$
event
->
package
()->
getAny
(
'
modules
'
, [])
as
$
i
=>
$
module
) {
Tasks::
runExternal
(
"
./
$
module
"
,
'
publish
'
, [],
"
yes
"
);
}
foreach
(
$
event
->
package
()->
getAny
(
'
plugins
'
, [])
as
$
i
=>
$
plugin
) {
Tasks::
runExternal
(
"
./plugins/
$
plugin
"
,
'
publish
'
, [],
"
yes
"
);
}
foreach
(
$
event
->
package
()->
getAny
(
'
extensions
'
, [])
as
$
i
=>
$
extension
) {
Tasks::
runExternal
(
"
./extensions/
$
extension
"
,
'
publish
'
, [],
"
yes
"
);
}
foreach
(
$
event
->
package
()->
getAny
(
'
templates
'
, [])
as
$
i
=>
$
template
) {
Tasks::
runExternal
(
"
./templates/
$
template
"
,
'
publish
'
, [],
"
yes
"
);
}
}
Back
|
FazBrowse Home
|
New Git URL