Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular: patched for readily usable engine #355

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
225 changes: 225 additions & 0 deletions .internals/icons/inkscape-banner_1200x1200.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
225 changes: 225 additions & 0 deletions .internals/icons/inkscape-banner_1200x630.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
225 changes: 225 additions & 0 deletions .internals/icons/inkscape-banner_630x1200.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion Angular/.ci/build_unix-any.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at:
Expand Down Expand Up @@ -46,7 +47,7 @@ fi

I18N_Build "$PROJECT_ANGULAR"
__current_path="$PWD" && cd "${PROJECT_PATH_ROOT}/${PROJECT_ANGULAR}"
ANGULAR_Build
./build.sh.ps1
___process=$?
cd "$__current_path" && unset __current_path
if [ $___process -ne 0 ]; then
Expand Down
4 changes: 3 additions & 1 deletion Angular/.ci/build_windows-any.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at:
Expand All @@ -20,6 +21,7 @@ if (-not (Test-Path -Path $env:PROJECT_PATH_ROOT)) {
}

. "${env:LIBS_AUTOMATACI}\services\io\fs.ps1"
. "${env:LIBS_AUTOMATACI}\services\io\os.ps1"
. "${env:LIBS_AUTOMATACI}\services\i18n\translations.ps1"
. "${env:LIBS_AUTOMATACI}\services\compilers\angular.ps1"

Expand All @@ -46,7 +48,7 @@ if ($___process -ne 0) {
$null = I18N-Build "${env:PROJECT_ANGULAR}"
$__current_path = Get-Location
$null = Set-Location "${env:PROJECT_PATH_ROOT}\${env:PROJECT_ANGULAR}"
$___process = ANGULAR-Build
$___process = OS-Exec "./build.sh.ps1"
$null = Set-Location "${__current_path}"
$null = Remove-Variable __current_path
if ($___process -ne 0) {
Expand Down
43 changes: 43 additions & 0 deletions Angular/.ci/clean_unix-any.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/sh
# Copyright 2024 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at:
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.




# initialize
if [ "$PROJECT_PATH_ROOT" = "" ]; then
>&2 printf "[ ERROR ] - Please run from automataCI/ci.sh.ps1 instead!\n"
return 1
fi

. "${LIBS_AUTOMATACI}/services/io/fs.sh"




# execute
__current_path="$PWD"
cd "${PROJECT_PATH_ROOT}/${PROJECT_ANGULAR}"

FS_Remove_Silently "dist"
FS_Remove_Silently "node_modules"

cd "$__current_path"
unset __current_path




# report status
return 0
42 changes: 42 additions & 0 deletions Angular/.ci/clean_windows-any.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 2024 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at:
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.




# initialize
if (-not (Test-Path -Path $env:PROJECT_PATH_ROOT)) {
Write-Error "[ ERROR ] - Please run from automataCI\ci.sh.ps1 instead!`n"
return 1
}

. "${env:LIBS_AUTOMATACI}\services\io\fs.ps1"




# execute
$__current_path = Get-Location
$null = Set-Location "${env:PROJECT_PATH_ROOT}\${env:PROJECT_ANGULAR}"

$null = FS-Remove-Silently "dist"
$null = FS-Remove-Silently "node_modules"

$null = Set-Location "${__current_path}"
$null = Remove-Variable __current_path




# report status
return 0
3 changes: 2 additions & 1 deletion Angular/.ci/materialize_unix-any.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at:
Expand Down Expand Up @@ -38,7 +39,7 @@ fi

I18N_Build "$PROJECT_ANGULAR"
__current_path="$PWD" && cd "${PROJECT_PATH_ROOT}/${PROJECT_ANGULAR}"
ANGULAR_Build
./build.sh.ps1
___process=$?
cd "$__current_path" && unset __current_path
if [ $___process -ne 0 ]; then
Expand Down
3 changes: 2 additions & 1 deletion Angular/.ci/materialize_windows-any.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at:
Expand Down Expand Up @@ -39,7 +40,7 @@ if ($___process -ne 0) {
$null = I18N-Build "${env:PROJECT_ANGULAR}"
$__current_path = Get-Location
$null = Set-Location "${env:PROJECT_PATH_ROOT}\${env:PROJECT_ANGULAR}"
$___process = Angular-Build
$___process = OS-Exec "./build.sh.ps1"
$null = Set-Location "${__current_path}"
$null = Remove-Variable __current_path
if ($___process -ne 0) {
Expand Down
1 change: 1 addition & 0 deletions Angular/.ci/prepare_unix-any.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at:
Expand Down
1 change: 1 addition & 0 deletions Angular/.ci/prepare_windows-any.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at:
Expand Down
3 changes: 2 additions & 1 deletion Angular/.ci/test_unix-any.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at:
Expand Down Expand Up @@ -50,7 +51,7 @@ else
return 1
fi

CHROME_BIN="${___browser}" ANGULAR_Test
CHROME_BIN="${___browser}" ./test.sh.ps1
if [ $? -ne 0 ]; then
I18N_Run_Failed
return 1
Expand Down
3 changes: 2 additions & 1 deletion Angular/.ci/test_windows-any.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2023 (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
#
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
# of the License at:
Expand Down Expand Up @@ -51,7 +52,7 @@ if ($(OS-Is-Run-Simulated) -eq 0) {
}
$env:CHROME_BIN = $___browser

$___process = ANGULAR-Test
$___process = OS-Exec "./test.sh.ps1"
if ($___process -ne 0) {
$null = I18N-Run-Failed
return 1
Expand Down
Loading