debug
This commit is contained in:
parent
cd6cc79f8a
commit
25b777e9fe
3 changed files with 3 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -48,6 +48,7 @@ build_release_dir: build_diff_file
|
|||
|
||||
build_diff_file:
|
||||
@git diff --name-status $(LAST_TAG) HEAD > $(ROOT_DIR)/release/diff
|
||||
@cat $(ROOT_DIR)/release/diff
|
||||
|
||||
cleanup:
|
||||
@rm $(ROOT_DIR)/release/$(VERSION)
|
||||
|
|
|
@ -30,7 +30,7 @@ echo "Update version and date in the file \"version.php\""
|
|||
for i in `find ./"$version" -type f -name '*.*'`; do
|
||||
encoding=`file -b --mime-encoding "$i"`
|
||||
if [ "$encoding" != "iso-8859-1" ] && [ "$encoding" != "binary" ]; then
|
||||
iconv -c -f $encoding -t "cp1251" $i >> $i.cp1251
|
||||
iconv -f $encoding -t "cp1251" $i >> $i.cp1251
|
||||
mv $i.cp1251 $i
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -27,6 +27,7 @@ while (($buffer = fgets($handle)) !== false) {
|
|||
$file = explode("\t", trim($buffer));
|
||||
$modifiedFile = new ModifiedFile($file[1], $file[0]{0});
|
||||
$modifiedFiles[] = $modifiedFile;
|
||||
print(var_export($modifiedFiles, true));
|
||||
}
|
||||
|
||||
$builder = new ReleaseBuilder($modifiedFiles, $arModuleVersion['VERSION']);
|
||||
|
|
Loading…
Add table
Reference in a new issue