summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* build-pkg: limit number of retries of downloadingBoris Nagaev2016-05-021-2/+17
| | | | fix #1308
* build-pkg, second pass: fix fail on broken packageBoris Nagaev2016-04-201-6/+8
| | | | | | | | If a package is found to be broken on the first pass, then prev_files = nil, because this structure is filled only for non-broken packages. See https://github.com/mxe/mxe/pull/1243#issuecomment-211137555
* build-pkg: provide more info about removed filesBoris Nagaev2016-04-201-3/+25
|
* build-pkg: detect broken symlink and removed fileBoris Nagaev2016-04-201-1/+11
|
* build-pkg: use "git add" with --allBoris Nagaev2016-04-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | From the warning produced by "git add ." after removing a file with "rm": > warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal', > whose behaviour will change in Git 2.0 with respect to paths you removed. > Paths like 'foo.txt' that are > removed from your working tree are ignored with this version of Git. > > * 'git add --ignore-removal <pathspec>', which is the current default, > ignores paths you removed from your working tree. > > * 'git add --all <pathspec>' will let you also record the removals. > > Run 'git status' to check the paths you removed from your working tree. $ git status --porcelain D foo.txt $ git add --all . $ git status --porcelain D foo.txt $ git --version git version 1.9.1
* build-pkg: exit with non-zero if second pass failsBoris Nagaev2016-04-201-2/+9
|
* build-pkg: provide a way to disable second passBoris Nagaev2016-04-201-4/+9
|
* build-pkg: add second passBoris Nagaev2016-04-201-9/+78
| | | | | | | | | | | | | | The second pass is done after the first one. During the second pass, an item is built in tree of files from all other items. It checks that: * packages can be built in any order satisfying dependencies; * a package can be rebuilt after its dependee. For both cases, not only build status is checked but also two sets of files are compared. Currently content of files is not checked, only their existance in both passes. See #1111
* build-pkg: move function isBuilt()Boris Nagaev2016-04-201-12/+12
| | | | It will be used in buildItem()
* build-pkg, buildItem(): log pass (first, second)Boris Nagaev2016-04-201-2/+2
|
* build-pkg: provide a way to mute removeEmptyDirs()Boris Nagaev2016-04-201-2/+5
|
* build-pkg: add argument pass=first to build funcsBoris Nagaev2016-04-201-14/+24
|
* build-pkg: move top-level code to main() functionBoris Nagaev2016-04-201-32/+36
|
* nonetwork: new line before the message and flushBoris Nagaev2016-03-261-1/+3
| | | | | fflush(stderr) may be needed: http://mailman.linuxchix.org/pipermail/courses/2002-August/000691.html
* Merge pull request #1270 from LuaAndC/nonetwork-print-messageTony Theodore2016-03-221-0/+11
|\ | | | | nonetwork: print message from replaced functions
| * nonetwork: print message from replaced functionsBoris Nagaev2016-03-201-0/+11
| | | | | | | | See https://github.com/mxe/mxe/issues/1269
* | copydlldeps.sh: fix #1226 (case insensitive)Pavel Vatagin2016-03-201-11/+17
|/
* Update copydlldeps.mdBoris Nagaev2016-02-101-21/+29
|
* markdown with code blocksdl5rcw2016-02-101-1/+4
| | | just noticed md + code blocks need these
* converting file to md formatdl5rcw2016-02-101-12/+14
| | | converting file from mediawiki to md format
* Rename copydlldeps.txt to copydlldeps.mddl5rcw2016-02-071-0/+0
|
* introducing copydlldeps.sh and copydlldeps.txtroot2016-02-052-0/+440
|
* build-pkg: set MXE_DIR automaticallyBoris Nagaev2016-01-251-7/+8
| | | | | | | Produce a warning if MXE_DIR != /usr/lib/mxe When making a debug build, it is better to get a warning than set MXE_DIR manually each time.
* build-pkg: ignore installed/.gitkeep fileBoris Nagaev2016-01-171-1/+1
| | | | | | | It produced the following erroneous warning: > Item x86_64-unknown-linux-gnu~mxe-conf > built item x86_64-unknown-linux-gnu~.gitkeep.
* build-pkg: log and remove empty directoriesBoris Nagaev2016-01-171-0/+17
|
* build-pkg: touch usr/*/installed/* in build orderBoris Nagaev2016-01-171-6/+30
| | | | See https://git.io/vuDJY
* build-pkg: refactor function makeItem2Index()Boris Nagaev2016-01-171-7/+10
|
* build-pkg: prevent accidental rebuildsBoris Nagaev2016-01-171-0/+4
| | | | touch all installed/* files after checkout.
* build-pkg: resolve merge conflicts manuallyBoris Nagaev2016-01-171-3/+22
| | | | | | | `git merge -s recursive -X ours` turned out to fail on binary files. (I can't reproduce this behaviour in test repo, maybe it is Git's bug.) So I switched to `checkout --ours`, which worked in that case.
* build-pkg: reorder functionsBoris Nagaev2016-01-171-6/+6
| | | | gitCheckout() will use gitCommit()
* build-pkg: check exit status of "git commit"Boris Nagaev2016-01-171-2/+4
|
* build-pkg: make sure checkout and merge succeedBoris Nagaev2016-01-171-3/+3
|
* build-pkg: merge "resolves" conflictsBoris Nagaev2016-01-171-9/+5
| | | | | | | | | | | Result of build by previous commit: https://gist.github.com/32309209c467853deedc If a conflict happens, build-pkg should "resolve" it by selecting one of versions. Git has a merge strategy "recursive" with an option "ours" which does exactly what is needed but works only for two heads. That is why multi-merge was replaced by multiple merges of two heads.
* build-pkg: make pkg without independent packagesBoris Nagaev2016-01-171-1/+41
| | | | | | | This is an implementation of detection of undeclared requiremenets using Git branches. See #1111
* build-pkg: check-requirements MXE_TARGETS=...Boris Nagaev2016-01-171-1/+2
| | | | | | | | | check-requirements creates directories usr/<target> for all targets. By default, MXE_TARGETS=i686-w64-mingw32.static, so it creates a directory for i686-w64-mingw32.static only. (Currently this doesn't affect history in usr/.git as git ignores empty directories.)
* build-pkg: make sure usr/.git doesn't existBoris Nagaev2016-01-171-0/+1
|
* build-pkg: move git user config to varBoris Nagaev2016-01-171-3/+3
|
* build-pkg: fix warnings of LuaCheckBoris Nagaev2016-01-171-24/+26
| | | | Warnings fixed: https://gist.github.com/b563dfd7708e1ef209b4
* mxe-activate: update completions and change alias to mxe-makeTony Theodore2016-01-101-16/+36
| | | | | | * remove `build-only*` - too low level for general use * add new patch related commands and catch-all completions * `mxe-make` alias is more descriptive
* move patching functions and targets to patch.mkBoris Nagaev2016-01-081-0/+1
| | | | | See https://github.com/mxe/mxe/pull/1134#issuecomment-168873410 See https://github.com/mxe/mxe/pull/1134#issuecomment-169867926
* patch-tool-mxe can import all patches of a packageBoris Nagaev2016-01-081-0/+9
|
* reimplement patch-tool-mxe in MakefileBoris Nagaev2016-01-081-105/+4
| | | | fix #1063
* fix backup downloadTony Theodore2016-01-071-2/+2
| | | | | * use bash for brace expansion * http://sprunge.us/ is down (fixes #1145)
* add selected plugins to backup downloadTony Theodore2016-01-061-1/+6
| | | | closes #1135
* Make Travis CI build build-matrix.htmlTimothy Gu2016-01-031-1/+1
| | | | Fixes #1074.
* Merge pull request #1117 from LuaAndC/build-pkg-toposortTony Theodore2016-01-011-17/+94
|\ | | | | build-pkg: add toposort checks and implement it internally, without tsort tool
| * build-pkg: implement toposort internallyBoris Nagaev2016-01-011-17/+50
| | | | | | | | Instead of invoking tsort tool.
| * build-pkg: check toposortBoris Nagaev2016-01-011-0/+25
| |
| * build-pkg: check each item builds one packageBoris Nagaev2016-01-011-0/+19
| |
* | patch-tool-mxe: always output text diffsBoris Nagaev2016-01-011-0/+1
|/ | | | | Otherwise it provides binary diff for jack/waf file, which is a mix of Python and tar.