Skip to content

Commit 4cc59a6

Browse files
committed
re-generate commons
1 parent 500cb15 commit 4cc59a6

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed

build-assets/package.json

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@
2525
"$link": "https://ftp.gnu.org/gnu/bash/",
2626
"bashReleaseDate": "21 Mar 2024"
2727
},
28-
"buildFolderRelativePath": "{{ 'build' | path_join: configuration.name | to_filename | downcase }}",
29-
"buildFolderRelativePathPosix": "{{ 'build' | path_posix_join: configuration.name | downcase }}",
30-
"commandBashBuild": "bash {{ properties.dbg }} scripts/build.sh --target {{ configuration.name }} --build-folder {{ properties.buildFolderRelativePathPosix }}",
28+
"buildFolderRelativePath": "{{'build' | path_join: configuration.name | to_filename | downcase}}",
29+
"buildFolderRelativePathPosix": "{{'build' | path_posix_join: configuration.name | downcase}}",
30+
"commandBashBuild": "bash {{properties.dbg}} scripts/build.sh --target {{configuration.name}} --build-folder {{properties.buildFolderRelativePathPosix}}",
3131
"xpm-version": "0.18.0",
3232
"xpm-install-loglevel": "info",
3333
"dbg": ""
3434
},
3535
"actions": {
3636
"deep-clean": [
3737
"rm -rf build xpacks node_modules package-lock.json",
38-
"rm -rf ${HOME}/Work/xpack-dev-tools-build/{{ properties.appLcName }}-[0-9]*-*"
38+
"rm -rf ${HOME}/Work/xpack-dev-tools-build/{{properties.appLcName}}-[0-9]*-*"
3939
],
4040
"install": [
4141
"npm install",
@@ -53,12 +53,12 @@
5353
"website-import-releases": "bash xpacks/@xpack-dev-tools/xbb-helper/maintainer-scripts/website-import-releases.sh",
5454
"check-space": "{% if os.platform == 'darwin' %}df -gH /{% else %}df -BG -H /{% endif %}",
5555
"clear-all-projects-builds": "rm -rf ~/Work/xpack-dev-tools/*/build-assets/build",
56-
"trigger-workflow-build-darwin-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-darwin-x64.yml --xpm-version {{ properties.xpm-version }} --loglevel {{ properties.xpm-install-loglevel }}",
57-
"trigger-workflow-build-darwin-arm64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-darwin-arm64.yml --xpm-version {{ properties.xpm-version }} --loglevel {{ properties.xpm-install-loglevel }}",
58-
"trigger-workflow-build-linux-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-linux-x64.yml --xpm-version {{ properties.xpm-version }} --loglevel {{ properties.xpm-install-loglevel }}",
59-
"trigger-workflow-build-win32-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-win32-x64.yml --xpm-version {{ properties.xpm-version }} --loglevel {{ properties.xpm-install-loglevel }}",
60-
"trigger-workflow-build-linux-arm64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-linux-arm64.yml --xpm-version {{ properties.xpm-version }} --loglevel {{ properties.xpm-install-loglevel }}",
61-
"trigger-workflow-build-linux-arm": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-linux-arm.yml --xpm-version {{ properties.xpm-version }} --loglevel {{ properties.xpm-install-loglevel }}",
56+
"trigger-workflow-build-darwin-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-darwin-x64.yml --xpm-version {{properties.xpm-version}} --loglevel {{properties.xpm-install-loglevel}}",
57+
"trigger-workflow-build-darwin-arm64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-darwin-arm64.yml --xpm-version {{properties.xpm-version}} --loglevel {{properties.xpm-install-loglevel}}",
58+
"trigger-workflow-build-linux-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-linux-x64.yml --xpm-version {{properties.xpm-version}} --loglevel {{properties.xpm-install-loglevel}}",
59+
"trigger-workflow-build-win32-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-win32-x64.yml --xpm-version {{properties.xpm-version}} --loglevel {{properties.xpm-install-loglevel}}",
60+
"trigger-workflow-build-linux-arm64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-linux-arm64.yml --xpm-version {{properties.xpm-version}} --loglevel {{properties.xpm-install-loglevel}}",
61+
"trigger-workflow-build-linux-arm": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-build.sh --workflow build-linux-arm.yml --xpm-version {{properties.xpm-version}} --loglevel {{properties.xpm-install-loglevel}}",
6262
"trigger-workflow-test-prime": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-test-prime.sh",
6363
"trigger-workflow-test-docker-linux-x64": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-test-docker-linux-x64.sh",
6464
"trigger-workflow-test-docker-linux-arm": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-test-docker-linux-arm.sh",
@@ -68,15 +68,15 @@
6868
"update-package-binaries": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/update-package-binaries.sh",
6969
"trigger-workflow-test-xpm": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-test-xpm.sh",
7070
"trigger-workflow-deep-clean": "bash xpacks/@xpack-dev-tools/xbb-helper/github-actions/trigger-workflow-deep-clean.sh",
71-
"test-native": "bash {{ properties.dbg }} scripts/test.sh",
72-
"test-pre-release": "bash {{ properties.dbg }} scripts/test.sh --base-url pre-release --development --cache",
73-
"test-release": "bash {{ properties.dbg }} scripts/test.sh --base-url pre-release --development --cache",
74-
"test-xpm": "bash {{ properties.dbg }} scripts/test.sh --xpm",
75-
"build-native": "bash {{ properties.dbg }} scripts/build.sh",
76-
"build-native-develop": "bash {{ properties.dbg }} scripts/build.sh --development",
77-
"build-native-develop-debug": "bash {{ properties.dbg }} scripts/build.sh --development --debug",
78-
"build-native-win": "bash {{ properties.dbg }} scripts/build.sh --windows",
79-
"build-native-win-develop": "bash {{ properties.dbg }} scripts/build.sh --development --windows"
71+
"test-native": "bash {{properties.dbg}} scripts/test.sh",
72+
"test-pre-release": "bash {{properties.dbg}} scripts/test.sh --base-url pre-release --development --cache",
73+
"test-release": "bash {{properties.dbg}} scripts/test.sh --base-url pre-release --development --cache",
74+
"test-xpm": "bash {{properties.dbg}} scripts/test.sh --xpm",
75+
"build-native": "bash {{properties.dbg}} scripts/build.sh",
76+
"build-native-develop": "bash {{properties.dbg}} scripts/build.sh --development",
77+
"build-native-develop-debug": "bash {{properties.dbg}} scripts/build.sh --development --debug",
78+
"build-native-win": "bash {{properties.dbg}} scripts/build.sh --windows",
79+
"build-native-win-develop": "bash {{properties.dbg}} scripts/build.sh --development --windows"
8080
},
8181
"buildConfigurations": {
8282
"common-dependencies": {
@@ -94,63 +94,63 @@
9494
"hidden": true,
9595
"actions": {
9696
"deep-clean": [
97-
"rm -rf {{ properties.buildFolderRelativePathPosix }}",
98-
"rm -rf ${HOME}/Work/xpack-dev-tools-build/{{ properties.appLcName }}-[0-9]*-*/{{ configuration.name }}"
97+
"rm -rf {{properties.buildFolderRelativePathPosix}}",
98+
"rm -rf ${HOME}/Work/xpack-dev-tools-build/{{properties.appLcName}}-[0-9]*-*/{{configuration.name}}"
9999
],
100-
"install": "xpm install --config {{ configuration.name }}"
100+
"install": "xpm install --config {{configuration.name}}"
101101
}
102102
},
103103
"common-actions-native": {
104104
"hidden": true,
105105
"actions": {
106-
"build": "{{ properties.commandBashBuild }}",
107-
"build-development": "{{ properties.commandBashBuild }} --development",
108-
"build-development-debug": "{{ properties.commandBashBuild }} --development --debug",
109-
"build-development-tests-only": "{{ properties.commandBashBuild }} --development --tests-only"
106+
"build": "{{properties.commandBashBuild}}",
107+
"build-development": "{{properties.commandBashBuild}} --development",
108+
"build-development-debug": "{{properties.commandBashBuild}} --development --debug",
109+
"build-development-tests-only": "{{properties.commandBashBuild}} --development --tests-only"
110110
}
111111
},
112112
"common-docker": {
113113
"hidden": true,
114114
"properties": {
115-
"containerName": "{{ properties.appLcName }}-{{ package.version }}-{{ configuration.name }}",
115+
"containerName": "{{properties.appLcName}}-{{package.version}}-{{configuration.name}}",
116116
"force32": ""
117117
},
118118
"actions": {
119119
"docker-prepare": [
120120
"mkdir -pv ${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git",
121121
"mkdir -pv ${HOME}/.local/xPacks ${HOME}/.cache/xPacks ${HOME}/Work/cache",
122122
"mkdir -pv ${HOME}/.wine",
123-
"docker rm --force {{ properties.containerName }}",
124-
"docker create --name {{ properties.containerName }} --tty --hostname docker --env XBB_ENVIRONMENT_SKIP_CHECKS=${XBB_ENVIRONMENT_SKIP_CHECKS:-} --volume $(pwd):$(pwd) --volume ${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git:${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git --volume ${HOME}/.cache/xPacks:${HOME}/.cache/xPacks --volume ${HOME}/Work/cache:${HOME}/Work/cache --volume ${HOME}/.wine:${HOME}/.wine --workdir $(pwd) {{ properties.dockerImage }}",
125-
"docker start {{ properties.containerName }}",
126-
"docker exec {{ properties.containerName }} {{ properties.force32 }} npm install --location=global xpm@{{ properties.xpm-version }}",
127-
"docker exec {{ properties.containerName }} {{ properties.force32 }} userdel node",
128-
"docker exec {{ properties.containerName }} {{ properties.force32 }} groupadd --gid $(id -g) --force $(id -gn)",
129-
"docker exec {{ properties.containerName }} {{ properties.force32 }} useradd --home-dir ${HOME} --uid $(id -u) --gid $(id -g) $(id -un) --create-home",
130-
"docker exec {{ properties.containerName }} {{ properties.force32 }} chown --recursive $(id -u):$(id -g) ${HOME}",
131-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} bash -c 'lsb_release -sd && whoami && pwd && ls -lLA && ls -l ${HOME}'",
132-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm install",
133-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm install --config {{ configuration.name }}"
123+
"docker rm --force {{properties.containerName}}",
124+
"docker create --name {{properties.containerName}} --tty --hostname docker --env XBB_ENVIRONMENT_SKIP_CHECKS=${XBB_ENVIRONMENT_SKIP_CHECKS:-} --volume $(pwd):$(pwd) --volume ${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git:${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git --volume ${HOME}/.cache/xPacks:${HOME}/.cache/xPacks --volume ${HOME}/Work/cache:${HOME}/Work/cache --volume ${HOME}/.wine:${HOME}/.wine --workdir $(pwd) {{properties.dockerImage}}",
125+
"docker start {{properties.containerName}}",
126+
"docker exec {{properties.containerName}} {{properties.force32}} npm install --location=global xpm@{{properties.xpm-version}}",
127+
"docker exec {{properties.containerName}} {{properties.force32}} userdel node",
128+
"docker exec {{properties.containerName}} {{properties.force32}} groupadd --gid $(id -g) --force $(id -gn)",
129+
"docker exec {{properties.containerName}} {{properties.force32}} useradd --home-dir ${HOME} --uid $(id -u) --gid $(id -g) $(id -un) --create-home",
130+
"docker exec {{properties.containerName}} {{properties.force32}} chown --recursive $(id -u):$(id -g) ${HOME}",
131+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} bash -c 'lsb_release -sd && whoami && pwd && ls -lLA && ls -l ${HOME}'",
132+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm install",
133+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm install --config {{configuration.name}}"
134134
],
135135
"docker-link-deps": [
136-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm link -C ${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git",
137-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm run link-deps"
136+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm link -C ${HOME}/Work/xpack-dev-tools/xbb-helper-xpack.git",
137+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm run link-deps"
138138
],
139139
"docker-build": [
140-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm run build --config {{ configuration.name }}"
140+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm run build --config {{configuration.name}}"
141141
],
142142
"docker-build-development": [
143-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm run build-development --config {{ configuration.name }}"
143+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm run build-development --config {{configuration.name}}"
144144
],
145145
"docker-build-development-debug": [
146-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm run build-development-debug --config {{ configuration.name }}"
146+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm run build-development-debug --config {{configuration.name}}"
147147
],
148148
"docker-build-development-tests-only": [
149-
"docker exec --user $(id -un) {{ properties.containerName }} {{ properties.force32 }} xpm run build-development-tests-only --config {{ configuration.name }}"
149+
"docker exec --user $(id -un) {{properties.containerName}} {{properties.force32}} xpm run build-development-tests-only --config {{configuration.name}}"
150150
],
151151
"docker-remove": [
152-
"docker stop {{ properties.containerName }}",
153-
"docker rm {{ properties.containerName }}"
152+
"docker stop {{properties.containerName}}",
153+
"docker rm {{properties.containerName}}"
154154
]
155155
}
156156
},
@@ -166,10 +166,10 @@
166166
"@xpack-dev-tools/sed": "4.9.0-3.1"
167167
},
168168
"actions": {
169-
"build": "caffeinate {{ properties.commandBashBuild }}",
170-
"build-development": "caffeinate {{ properties.commandBashBuild }} --development",
171-
"build-development-debug": "caffeinate {{ properties.commandBashBuild }} --development --debug",
172-
"build-development-tests-only": "caffeinate {{ properties.commandBashBuild }} --development --tests-only"
169+
"build": "caffeinate {{properties.commandBashBuild}}",
170+
"build-development": "caffeinate {{properties.commandBashBuild}} --development",
171+
"build-development-debug": "caffeinate {{properties.commandBashBuild}} --development --debug",
172+
"build-development-tests-only": "caffeinate {{properties.commandBashBuild}} --development --tests-only"
173173
}
174174
},
175175
"darwin-arm64": {
@@ -224,10 +224,10 @@
224224
"dockerImage": "ilegeul/ubuntu:amd64-18.04-xbb-v5.2.2"
225225
},
226226
"actions": {
227-
"build": "{{ properties.commandBashBuild }} --windows",
228-
"build-development": "{{ properties.commandBashBuild }} --windows --development",
229-
"build-development-debug": "{{ properties.commandBashBuild }} --windows --development --debug",
230-
"build-development-tests-only": "{{ properties.commandBashBuild }} --windows --development --tests-only"
227+
"build": "{{properties.commandBashBuild}} --windows",
228+
"build-development": "{{properties.commandBashBuild}} --windows --development",
229+
"build-development-debug": "{{properties.commandBashBuild}} --windows --development --debug",
230+
"build-development-tests-only": "{{properties.commandBashBuild}} --windows --development --tests-only"
231231
}
232232
}
233233
}

0 commit comments

Comments
 (0)