summaryrefslogtreecommitdiffstats
path: root/tools/skeleton.py
Commit message (Collapse)AuthorAgeFilesLines
* skeleton.py: use shutil.move instead of os.renameBoris Nagaev2016-10-281-1/+1
| | | | | Function os.rename fails if files are in different filesystems, e.g. if /tmp is mounted as tmpfs.
* move index.html to docs/Boris Nagaev2016-08-271-2/+2
| | | | See https://github.com/mxe/mxe/issues/1500
* Copyright headers: point to LICENSE.md and shortenBoris Nagaev2016-08-271-4/+2
| | | | | | | | | | | | | | | | | | | The following script was applied: sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE') sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \ $(git grep -l 'part of MXE.*See index.html') before='This file is part of MXE. See index.html for further information.' after='This file is part of MXE. See LICENSE.md for licensing information.' sed "s/$before/$after/" -i $(git grep -l 'part of MXE') Then git grep 'index.html for further information' revealed two other files. One of them was patched manually (patch.mk). Makefile has text "See index.html for further information" unrelated to licensing. See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
* skeleton: don't truncate index.html on write errorBoris Nagaev2016-07-121-1/+3
| | | | Write new version to a temporary file and rename it to index.html.
* make skeleton.py Python 3 compatibleBoris Nagaev2016-07-121-4/+15
|
* use $(TEST_FILE) in skeleton.pyBoris Nagaev2016-07-111-1/+1
|
* skeleton: use SOURCE_DIR and BUILD_DIRBoris Nagaev2016-07-111-11/+9
| | | | and do not mkdir build dir.
* add tool skeleton.pyBoris Nagaev2016-07-101-0/+272
This tool creates a skeleton of new MXE package.