Skip to content

Commit

Permalink
refactor: Renomeado pasta src dos scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mazinsw committed Jun 20, 2021
1 parent 2e4fc1a commit 8cce1d2
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions utils/atualiza_servicos.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo OFF

mkdir -p "../storage/generated/api/NFe/Database/data"
php -f atualiza_servicos.php "../storage/generated/api/NFe/Database/data"
mkdir -p "../storage/generated/src/NFe/Database/data"
php -f atualiza_servicos.php "../storage/generated/src/NFe/Database/data"
4 changes: 2 additions & 2 deletions utils/atualiza_servicos.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

mkdir -p ../storage/generated/api/NFe/Database/data
php -f atualiza_servicos.php ../storage/generated/api/NFe/Database/data
mkdir -p ../storage/generated/src/NFe/Database/data
php -f atualiza_servicos.php ../storage/generated/src/NFe/Database/data
2 changes: 1 addition & 1 deletion utils/copy_paste_detector.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set PATH=%PATH%;%~pd0..\vendor\bin

cd ..
cmd /C phpcpd api
cmd /C phpcpd src
cmd /C phpcpd tests\NFe
cd %~pd0

Expand Down
2 changes: 1 addition & 1 deletion utils/csv_to_json_IBPT.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo OFF

php -f csv_to_json_IBPT.php "IBPT" "../api/NFe/Database/data/IBPT"
php -f csv_to_json_IBPT.php "IBPT" "../src/NFe/Database/data/IBPT"
2 changes: 1 addition & 1 deletion utils/csv_to_json_IBPT.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

php -f csv_to_json_IBPT.php "IBPT" "../api/NFe/Database/data/IBPT"
php -f csv_to_json_IBPT.php "IBPT" "../src/NFe/Database/data/IBPT"
4 changes: 2 additions & 2 deletions utils/generate_doc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
set PATH=%PATH%;%~pd0..\vendor\bin

cd ..
cmd /C phpdoc --progressbar --sourcecode -d api\NFe -t docs\api
cmd /C phpdoc --progressbar --sourcecode -d src\NFe -t docs\docs
cd %~pd0
start %~pd0..\docs\api\index.html
start %~pd0..\docs\docs\index.html
2 changes: 1 addition & 1 deletion utils/mess_detector.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set PATH=%PATH%;%~pd0..\vendor\bin

cd ..
cmd /C phpmd api text cleancode,codesize,controversial,design,unusedcode > utils\tmp\analisys.txt
cmd /C phpmd src text cleancode,codesize,controversial,design,unusedcode > utils\tmp\analisys.txt
cd %~pd0

pause
2 changes: 1 addition & 1 deletion utils/run_phploc.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set PATH=%PATH%;%~pd0..\vendor\bin

cd ..
cmd /C phploc api
cmd /C phploc src
cd %~pd0

pause

0 comments on commit 8cce1d2

Please sign in to comment.