Commit graph

93 commits

Author SHA1 Message Date
Leonardo de Moura
be9c59b9ff feat(linja): remove drivename to fix problems with ninja
Remark: this is a little bit hackish, we should look for a better solution.
2014-09-20 10:52:59 -07:00
Soonho Kong
b429b961e6 refactor(bin/linja): clean up 2014-09-20 10:06:43 -07:00
Soonho Kong
0cbe2667eb fix(bin/linja): support windows
':' has a special meaning in build.ninja and has to be escaped. In
windows, ':' is used for drive names (i.e. c:).
2014-09-20 10:06:43 -07:00
Soonho Kong
a803b8fd8d fix(bin/ltags): handle recursor specially in tags generation
fix #197
2014-09-15 15:17:46 -07:00
Soonho Kong
8899ded46b fix(bin/linja): pass args.cache to lean when project file not found
fix #195
2014-09-15 14:35:13 -07:00
Soonho Kong
254d861970 feat(bin/linja): pass -D config option to lean
Close #196
2014-09-15 13:04:13 -07:00
Soonho Kong
23ca9f0f76 fix(bin/linja): show ninja error/warning 2014-09-13 23:36:13 -07:00
Soonho Kong
c5d20aaa9d fix(bin/linja): pass args to call_lean and handle_failure_for_flycheck
Fix #163
2014-09-09 10:52:32 -07:00
Soonho Kong
3950e341e0 fix(bin/linja): allow non-exist cache argument
Fix #163
2014-09-09 10:45:56 -07:00
Soonho Kong
dab9ef31e3 feat(bin/linja): add build_ninja_and_save_at
Fix #129
2014-09-09 09:50:06 -07:00
Soonho Kong
f39e21f90e feat(bin/linja): add --cache option
Needed to solve #140
2014-09-08 23:49:02 -07:00
Soonho Kong
18bcfc535a feat(bin/linja): add --flycheck-max-messages
Close #134
2014-09-08 18:44:22 -07:00
Soonho Kong
4c0379586d feat(bin/linja): --flycheck option takes a width argument
Close #28
2014-09-05 16:34:32 -07:00
Soonho Kong
81b68e9600 feat(bin/ltags): resolve abbreviation('a') to definition
Close #131
2014-09-05 06:59:02 -07:00
Soonho Kong
f555c9916e feat(bin/linja): add ninja support for cygwin-x86_64 and i386 2014-09-04 14:37:07 -07:00
Soonho Kong
04fa9e04b6 feat(bin/linja): add ninja support for linux-i386 and cygwin-x86_64 2014-09-04 14:04:58 -07:00
Soonho Kong
51152b011d feat(bin/linja): return exitcode from ninja and lean
fix #120
2014-09-02 09:55:34 -07:00
Soonho Kong
095d946937 feat(bin/linja): add clear-cache target
Close #99
2014-09-01 22:59:10 -07:00
Soonho Kong
ab08893140 fix(bin/linja): use ninja binaries at leanprover.github.io
fix #118
2014-08-31 08:51:23 -07:00
Soonho Kong
d36a609388 feat(bin/linja): add tags target
fix #117
2014-08-30 14:57:34 -07:00
Soonho Kong
f845fabaf4 feat(bin/linja): --directory(-C) option 2014-08-30 06:07:02 -07:00
Soonho Kong
c320c6e05a chore(bin/linja): use python 2.7 2014-08-29 17:01:53 -07:00
Soonho Kong
cb16ed09c5 feat(bin/linja): linja calls lean if project does not exist
close #110
2014-08-29 15:26:38 -07:00
Soonho Kong
37538acafa feat(bin/linja): call lean after ninja if ninja failed 2014-08-29 14:53:04 -07:00
Soonho Kong
32be0a67e2 feat(bin/linja): make deps when there are missing ones 2014-08-29 14:53:04 -07:00
Soonho Kong
888b651d0a chore(bin/linja): add copyright 2014-08-29 14:53:04 -07:00
Soonho Kong
8d39ee7177 feat(bin/linja): add linja
close #103, #108
2014-08-29 10:30:56 -07:00
Soonho Kong
fa8e610d4f fix(bin/ltags): use full name for tag-name 2014-08-26 16:22:32 -07:00
Soonho Kong
72aadd1afa fix(bin/lmake): save .olean file when makefile doesn't exist 2014-08-17 18:09:00 -07:00
Soonho Kong
9fae5ae525 feat(bin/lmake): add --always-make(-B) option 2014-08-17 18:09:00 -07:00
Soonho Kong
6911cb0af0 feat(bin/ltags): add ltags
Usage:

    ltags <ilean_files> # generate TAGS file for <ilean_files>

    ltags  # Find makefile upwards, generate TAGS file for all ilean files

close #50
2014-08-15 20:55:38 -07:00
Soonho Kong
991ce469e9 fix(bin/lmake): use "--always-make" option instead of touch
close #42
2014-08-15 20:55:33 -07:00
Soonho Kong
1c4f59853d feat(bin/lmake) add --just-print (-n) option 2014-08-15 20:52:12 -07:00
Soonho Kong
3e2e6702ba feat(bin/version): add missing version file 2014-08-14 16:50:13 -07:00
Soonho Kong
fd0780e53a feat(bin/lmake): support --permissive lean option
close #42
2014-08-14 15:06:30 -07:00
Soonho Kong
6f062a005e fix(bin/lmake): remove debugging messages 2014-08-13 21:04:56 -07:00
Soonho Kong
9f03d7c73c feat(bin/lmake): add --jobs and --keep-going options 2014-08-13 15:07:12 -07:00
Soonho Kong
f209ae5725 fix(bin/lmake): pass lmake option to makefile 2014-08-07 09:59:15 -07:00
Soonho Kong
9b23a52d0f fix(bin/lmake): fix typo LEAN_OPTIONS 2014-08-07 09:59:15 -07:00
Soonho Kong
b0a25cdbc9 fix(bin/lmake): missing case: no makefile & dir specified
close #27
2014-08-06 07:40:03 -07:00
Soonho Kong
a4b023a175 feat(bin/lmake): support multiple targets; add '-C', '-f' options 2014-08-05 02:19:15 -07:00
Soonho Kong
57410e7818 fix(bin/lmake): use '-j' option for make
[skip ci]
2014-08-04 17:28:57 -07:00
Soonho Kong
b2cb49fa1f feat(bin/lmake): add lmake
lmake tries to find a makefile in the current working-directory or its
ancestors and invoke the makefile if found. If a makefile is not found,
it calls lean directly. This is also used for flycheck-lean.

Usage:

    $ lmake
    $ lmake all
    $ lmake clean
    $ lmake basic
    $ lmake basic.lean
    $ lmake /home/user/projects/lean/library/.../basic.lean
    $ lmake --flyinfo --flycheck basic
2014-08-04 15:17:23 -07:00