add *.aab/ipa to .gitignore_global in addition to *.apk

This commit is contained in:
Luk 2024-04-17 08:58:12 +08:00
parent 5eb26c69f9
commit 7d3cf98072
10 changed files with 52 additions and 137 deletions

View File

@ -3,22 +3,9 @@
@REM 首先清除可能残留的变量 @REM 首先清除可能残留的变量
set ROOTPATH= set ROOTPATH=
set ROOTPATH1=D:\faronear
set ROOTPATH2=C:\faronear
set ROOTPATH3=%HOMEDRIVE%%HOMEPATH%\faronear
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]]
if exist "%ROOTPATH1%" (
set ROOTPATH=%ROOTPATH1%
) else if exist "%ROOTPATH2%" (
set ROOTPATH=%ROOTPATH2%
) else if exist "%ROOTPATH3%" (
set ROOTPATH=%ROOTPATH3%
) else (
echo ××× none of the testing path is valid.
echo; echo;
echo === Enter [root path] or [leave blank] for default [[%CD%]] to start tree search for .gitignore files echo === Enter [root path] or [leave blank] for default [[%CD%]] to start tree search for .gitignore files
set /p ROOTPATH=">>> " set /p ROOTPATH=">>> "
@ -28,7 +15,6 @@ echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]]
) else ( ) else (
for %P in (%ROOTPATH%) do set "ROOTPATH=%~dpnxP" for %P in (%ROOTPATH%) do set "ROOTPATH=%~dpnxP"
) )
)
) )
if not exist "%ROOTPATH%" ( if not exist "%ROOTPATH%" (
echo ××× [[%ROOTPATH%]] not exist! Exit now. *** echo ××× [[%ROOTPATH%]] not exist! Exit now. ***
@ -53,7 +39,7 @@ if not exist "%IGNOREPATH%" (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Starting from [[%CD%]] *** echo === Starting from [[%CD%]] ===
echo; echo;
for /d /r %%r in (*) do ( for /d /r %%r in (*) do (

View File

@ -3,29 +3,15 @@
@REM 首先清除可能残留的变量 @REM 首先清除可能残留的变量
set ROOTPATH= set ROOTPATH=
set ROOTPATH1=D:\faronear
set ROOTPATH2=C:\faronear
set ROOTPATH3=%HOMEDRIVE%%HOMEPATH%\faronear
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]] echo;
if exist "%ROOTPATH1%" ( echo === Enter [root path]> or [leave blank] for default to [[%CD%]]
set ROOTPATH=%ROOTPATH1% set /p ROOTPATH=">>> "
) else if exist "%ROOTPATH2%" ( echo;
set ROOTPATH=%ROOTPATH2% if "" == "%ROOTPATH%" (
) else if exist "%ROOTPATH3%" ( set ROOTPATH=%CD%
set ROOTPATH=%ROOTPATH3%
) else (
echo ××× none of the testing path is valid.
echo;
echo === Enter [root path]> or [leave blank] for default to [[%CD%]]
set /p ROOTPATH=">>> "
echo;
if "" == "%ROOTPATH%" (
set ROOTPATH=%CD%
)
) )
) )
@ -37,7 +23,7 @@ if not exist "%ROOTPATH%" (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Starting from [[%CD%]] *** echo === Starting from [[%CD%]] ===
echo; echo;
@ if "%2" == "hier" ( @ if "%2" == "hier" (

View File

@ -3,29 +3,15 @@
@REM 首先清除可能残留的变量 @REM 首先清除可能残留的变量
set ROOTPATH= set ROOTPATH=
set ROOTPATH1=D:\faronear
set ROOTPATH2=C:\faronear
set ROOTPATH3=%HOMEDRIVE%%HOMEPATH%\faronear
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]] echo;
if exist "%ROOTPATH1%" ( echo === Enter [root path] or [leave blank] for default to [[%CD%]]
set ROOTPATH=%ROOTPATH1% set /p ROOTPATH=">>> "
) else if exist "%ROOTPATH2%" ( echo;
set ROOTPATH=%ROOTPATH2% if "" == "%ROOTPATH%" (
) else if exist "%ROOTPATH3%" ( set ROOTPATH=%CD%
set ROOTPATH=%ROOTPATH3%
) else (
echo ××× none of the testing path is valid.
echo;
echo === Enter [root path] or [leave blank] for default to [[%CD%]]
set /p ROOTPATH=">>> "
echo;
if "" == "%ROOTPATH%" (
set ROOTPATH=%CD%
)
) )
) )
@ -37,7 +23,7 @@ if not exist "%ROOTPATH%" (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Starting from [[%CD%]] *** echo === Starting from [[%CD%]] ===
echo; echo;
echo === Enter [commit message] or [leave blank] for default to 'updated' echo === Enter [commit message] or [leave blank] for default to 'updated'

View File

@ -3,22 +3,15 @@
@REM 首先清除可能残留的变量 @REM 首先清除可能残留的变量
set ROOTPATH= set ROOTPATH=
set ROOTPATH1=D:\faronear
set ROOTPATH2=C:\faronear
set ROOTPATH3=%HOMEDRIVE%%HOMEPATH%\faronear
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]] echo;
if exist "%ROOTPATH1%" ( echo === Enter [root path]> or [leave blank] for default to [[%CD%]]
set ROOTPATH=%ROOTPATH1% set /p ROOTPATH=">>> "
) else if exist "%ROOTPATH2%" ( echo;
set ROOTPATH=%ROOTPATH2% if "" == "%ROOTPATH%" (
) else if exist "%ROOTPATH3%" ( set ROOTPATH=%CD%
set ROOTPATH=%ROOTPATH3%
) else (
set ROOTPATH=..\..
) )
) )
@ -30,7 +23,7 @@ if not exist %ROOTPATH% (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Current path = [[%CD%]] *** echo === Current path = [[%CD%]] ===
@REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do ( if exist %%d/.git pushd %%d & echo --- git pulling: %%d ... & git pull & popd ) ) & popd ) @REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do ( if exist %%d/.git pushd %%d & echo --- git pulling: %%d ... & git pull & popd ) ) & popd )

View File

@ -23,7 +23,9 @@
/test/unit/coverage/ /test/unit/coverage/
/test/e2e/reports/ /test/e2e/reports/
node_modules/ node_modules/
*.aab
*.apk *.apk
*.ipa
*.min.js *.min.js
*.min.css *.min.css
*.min.html *.min.html

View File

@ -3,29 +3,15 @@
@REM 首先清除可能残留的变量 @REM 首先清除可能残留的变量
set ROOTPATH= set ROOTPATH=
set ROOTPATH1=D:\faronear
set ROOTPATH2=C:\faronear
set ROOTPATH3=%HOMEDRIVE%%HOMEPATH%\faronear
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]] echo;
if exist "%ROOTPATH1%" ( echo === Enter [root path] or [leave blank] for default to [[%CD%]]
set ROOTPATH=%ROOTPATH1% set /p ROOTPATH=">>> "
) else if exist "%ROOTPATH2%" ( echo;
set ROOTPATH=%ROOTPATH2% if "" == "%ROOTPATH%" (
) else if exist "%ROOTPATH3%" ( set ROOTPATH=%CD%
set ROOTPATH=%ROOTPATH3%
) else (
echo ××× none of the testing path is valid.
echo;
echo === Enter [root path] or [leave blank] for default to [[%CD%]]
set /p ROOTPATH=">>> "
echo;
if "" == "%ROOTPATH%" (
set ROOTPATH=%CD%
)
) )
) )
@ -37,7 +23,7 @@ if not exist "%ROOTPATH%" (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Starting from [[%CD%]] *** echo === Starting from [[%CD%]] ===
echo; echo;
@ if "%2" == "hier" ( @ if "%2" == "hier" (

View File

@ -6,24 +6,14 @@ set ROOTPATH=
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
if exist D:\faronear ( echo;
set ROOTPATH=D:\faronear echo === Enter [root path] or [leave blank] for default to [[%CD%]]
) else (if exist C:\faronear ( set /p ROOTPATH=">>> "
set ROOTPATH=C:\faronear echo;
) else (if exist %HOMEDRIVE%%HOMEPATH%\faronear ( if "" == "%ROOTPATH%" (
set ROOTPATH=%HOMEDRIVE%%HOMEPATH%\faronear set ROOTPATH=%CD%
) else ( )
echo ××× none of the testing path is valid.
echo;
echo === Enter [root path] or [leave blank] for default to [[%CD%]]
set /p ROOTPATH=">>> "
echo;
if "" == "%ROOTPATH%" (
set ROOTPATH=%CD%
)
)))
) )
if not exist "%ROOTPATH%" ( if not exist "%ROOTPATH%" (
echo ××× [[%ROOTPATH%]] not exist! Exit now. *** echo ××× [[%ROOTPATH%]] not exist! Exit now. ***
@ GOTO END @ GOTO END
@ -32,7 +22,7 @@ if not exist "%ROOTPATH%" (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Starting from [[%CD%]] *** echo === Starting from [[%CD%]] ===
echo; echo;
for /d /r %%r in (*) do ( for /d /r %%r in (*) do (

View File

@ -1,6 +1,6 @@
@echo off @echo off
echo *** Append ~/.ssh/id_rsa.pub to remote server echo === Append ~/.ssh/id_rsa.pub to remote server ===
@ if not "%1" == "" ( @ if not "%1" == "" (
set REMOTEHOST=%1 set REMOTEHOST=%1

View File

@ -3,31 +3,17 @@
@REM 首先清除可能残留的变量 @REM 首先清除可能残留的变量
set ROOTPATH= set ROOTPATH=
set ROOTPATH1=D:\faronear
set ROOTPATH2=C:\faronear
set ROOTPATH3=%HOMEDRIVE%%HOMEPATH%\faronear
@ if not "" == "%1" ( @ if not "" == "%1" (
set ROOTPATH=%1 set ROOTPATH=%1
) else ( ) else (
echo *** Testing Path [[%ROOTPATH1%]] [[%ROOTPATH2%]] [[%ROOTPATH3%]] echo;
if exist "%ROOTPATH1%" ( echo === Enter [root path] or [leave blank] for default [[%CD%]] to start tree search for seafile-ignore.txt files
set ROOTPATH=%ROOTPATH1% set /p ROOTPATH=">>> "
) else if exist "%ROOTPATH2%" ( echo;
set ROOTPATH=%ROOTPATH2% if "" == "%ROOTPATH%" (
) else if exist "%ROOTPATH3%" ( set ROOTPATH=%CD%
set ROOTPATH=%ROOTPATH3%
) else ( ) else (
echo ××× none of the testing path is valid. for %P in (%ROOTPATH%) do set "ROOTPATH=%~dpnxP"
echo;
echo === Enter [root path] or [leave blank] for default [[%CD%]] to start tree search for seafile-ignore.txt files
set /p ROOTPATH=">>> "
echo;
if "" == "%ROOTPATH%" (
set ROOTPATH=%CD%
) else (
for %P in (%ROOTPATH%) do set "ROOTPATH=%~dpnxP"
)
) )
) )
if not exist "%ROOTPATH%" ( if not exist "%ROOTPATH%" (
@ -53,7 +39,7 @@ if not exist "%IGNOREPATH%" (
) )
pushd %ROOTPATH% pushd %ROOTPATH%
echo *** Starting from [[%CD%]] *** echo === Starting from [[%CD%]] ===
echo; echo;
for /d /r %%r in (*) do ( for /d /r %%r in (*) do (

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
echo *** 把 HBuilder 创建的 uniapp 应用转换成 vue-cli 应用的脚手架。 echo === 把 HBuilder 创建的 uniapp 应用转换成 vue-cli 应用的脚手架。
echo *** More info at https://uniapp.dcloud.net.cn/quickstart-cli.html echo === More info at https://uniapp.dcloud.net.cn/quickstart-cli.html
echo === CLI project name? echo === CLI project name?
read -p '>>> ' PROJECT read -p '>>> ' PROJECT
@ -16,11 +16,11 @@ then
echo === Originial Repository URL? echo === Originial Repository URL?
read -p '>>> ' $url read -p '>>> ' $url
echo echo
echo *** 下载一个 HBuilderX 创建的项目下载存为 src 目录: echo === 下载一个 HBuilderX 创建的项目下载存为 src 目录:
echo echo
git clone $url src git clone $url src
echo echo
echo *** 进入 src 安装依赖库 echo === 进入 src 安装依赖库
cd src cd src
npm run boot npm run boot
cd .. cd ..