Renaming build:apm to build:ppm

This commit is contained in:
Maurício Szabo 2023-04-05 12:01:01 -03:00
parent df6064ef88
commit a05cd168e4
4 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@ linux_task:
- yarn install --ignore-engines || yarn install --ignore-engines
build_script:
- yarn build
- yarn run build:apm
- yarn run build:ppm
build_binary_script:
- yarn dist || yarn dist
binary_artifacts:
@ -89,7 +89,7 @@ arm_linux_task:
- yarn install --ignore-engines || yarn install --ignore-engines
build_script:
- yarn build
- yarn run build:apm
- yarn run build:ppm
build_binary_script:
- source /etc/profile.d/rvm.sh
- yarn dist || yarn dist
@ -132,7 +132,7 @@ silicon_mac_task:
build_script:
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- yarn build
- yarn run build:apm
- yarn run build:ppm
build_binary_script:
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- yarn dist || yarn dist
@ -180,7 +180,7 @@ intel_mac_task:
build_script:
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin:$PATH"
- arch -x86_64 npx yarn build
- arch -x86_64 yarn run build:apm
- arch -x86_64 yarn run build:ppm
build_binary_script:
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin:$PATH"
- arch -x86_64 npx yarn dist || arch -x86_64 npx yarn dist
@ -220,7 +220,7 @@ windows_task:
|| rm -R node_modules && npx yarn install --ignore-engines
|| rm -R node_modules && npx yarn install --ignore-engines
build_script:
- npx yarn build:apm
- npx yarn build:ppm
- npx yarn build || npx yarn build || npx yarn build
build_binary_script:
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json

View File

@ -27,7 +27,7 @@ jobs:
run: yarn build
- name: build dependencies
run: yarn build:apm
run: yarn build:ppm
- name: build the editor
run: (yarn dist deb || yarn dist deb) && mv binaries/*deb pulsar.deb

View File

@ -3,7 +3,7 @@
| - | - |
| post-checkout | This hook executes after a branch checkout, or branch switch has occurred. |
| post-merge | This hook executes after a branch merge has occurred |
| update_editor.sh | The actual brains of the hooks. Performs a yarn install, yarn build, yarn build:apm, and syncs all submodules. |
| update_editor.sh | The actual brains of the hooks. Performs a yarn install, yarn build, yarn build:ppm, and syncs all submodules. |
### Disclaimer
These hooks are not guaranteed. These were made out of convenience and presented to the org as an optional tool for usage.

View File

@ -42,7 +42,7 @@ fi
echo ' Rebuilding PPM'
if [[ -d "ppm" ]]; then
yarn build:apm &> /dev/null
yarn build:ppm &> /dev/null
if [[ $? == 0 ]]; then
echo ' PPM build completed successfully'
else