Commit Graph

123 Commits

Author SHA1 Message Date
Aman Gupta
6457e8f56e skip tester html on travis/appveyor 2015-10-07 16:45:48 -07:00
Adam Strzelecki
6655537c66 koch: Add geninstall generating just ./install.sh
In opposite to `install` which generates ./install.sh and then calls it.
2015-10-03 19:51:16 +02:00
Araq
aa8b470cf6 use linenoise instead of GNU readline 2015-06-21 10:04:26 +02:00
Oscar Campbell
071ccf3d02 Add "safety compilation". Improved, fixed messages
- node ext searcher also looks for "iojs" if no node(js?) found.
- koch ensures the local work dir compiler is freshly compiled before executing the tests.
- the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed").
- fixed expectations in tmitems.nim test to match changes in json mod.
- re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
2015-06-04 07:33:27 +02:00
Oscar Campbell
51fc903dbf Made pathing (hopefully) Windows friendly. 2015-06-03 13:08:28 +02:00
Oscar Campbell
bf9053315c Ensure fresh compiler and local compiler + libs 2015-06-03 03:22:17 +02:00
Sergey Avseyev
4caf5482d4 Remove outdated targz from niminst 2015-05-26 13:27:02 +03:00
Sergey Avseyev
ba2aa474a1 Implement support for XZ dist tarball
Motivation
----------
Currenly tarballs for linux created manually. ZIP files are not
suitable, because they do not preserve unix file permissions.

Modification
------------
Implement 'koch xz' command to produce dist tarball in xz format. Also
the same command implemented in niminst.nim.

Result
------
Now it is easy to create source distribution for git stapshot and use it
further in packaging scripts.
2015-05-26 13:23:41 +03:00
Sergey Avseyev
411e602d13 Introduce pedantic mode for tester
Motivation
----------
External tools need to know whether or not any test in suite failed. For
example buildbot, or packaging tool would like to stop the execution and
mark it as failed if some tests does not pass.

Modification
------------
Add `--pedantic` switch to tester program which will force it to quit
with non-zero exit code if at least one failure detected. Also update
`tests()` proc in koch to inspect result from tester and propagate it to
user.

Result
------
Nothing has changed in default behaviour. But following invocations will
exit with non-zero code if there failed tests:

    ./koch tests --pedantic all
    ./tests/testament/tester --pedantic all
2015-05-25 22:37:30 +03:00
Araq
3905cfeace more cleanups for 0.11.0 2015-04-30 14:32:01 +02:00
Araq
a4f8a89c85 preparations for version 0.11.0 2015-04-30 02:01:38 +02:00
Araq
813a4f1d83 the installer can generate tar.gz 2015-04-29 19:59:06 +02:00
Araq
3b00d9cc7a removed a bit of cruft from koch 2015-04-22 20:42:36 +02:00
def
06b986dbd5 Rename compiler/nim.ini back to compiler/installer.ini
- Niminst has a new -m/--main option to set the main file, by default
  ini-file with .nim extension (old behaviour)
- Koch uses this to pass --main:compiler/nim.nim
- Fix includes/links of website.ini
2015-03-13 17:03:57 +01:00
def
02432f1052 Add makefile for csources
This should speed up compilation of csources significantly, as it can be
used with "make -j $NUMPROCS"

Only tested on Linux so far
2015-03-12 16:53:11 +01:00
def
1b7d7ae1cb koch: Nimrod -> Nim 2015-03-12 14:03:13 +01:00
def
7707c4c369 Move installer.ini back to nim.ini to fix ./koch csource 2015-03-12 13:50:07 +01:00
Hans Raaf
58186f6c1d Replaced deprecated repeatChar() with repeat() or spaces(). 2015-03-04 03:30:43 +01:00
Araq
f3756d2ccb koch supports 'boot cpp' 2015-02-24 19:19:08 +01:00
Araq
e6dcceae6c website updates 2015-02-18 13:44:01 +01:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Araq
c2da0e9b3d cleanup index generation 2015-02-10 20:19:48 +01:00
Araq
61e5f0dc51 fixes #2061 2015-02-04 12:51:53 +01:00
Simon Hafner
1a88e2a18b koch temp has 125 exit code for git bisect 2015-01-28 13:19:34 -06:00
Araq
a195388c37 minor website improvements 2015-01-23 00:36:59 +01:00
Flaviu Tamas
4f6b386f3c Improve koch web google analytics docs 2015-01-22 17:20:17 -05:00
Araq
6b3473ad1b koch doesn't use compiler/nversion (makes no sense); updated twitter link 2015-01-13 21:38:13 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
13b72ed0c0 attempt to make koch smarter about windows installers 2014-12-31 01:55:02 +01:00
Araq
76c3b314dc implemented 'koch pdf' 2014-12-19 13:44:56 +01:00
Araq
3ee048eaad added 'website' option to koch for convenience 2014-12-13 00:39:32 +01:00
Araq
a53e97fc89 Merge branch 'devel' into bigbreak
Conflicts:
	lib/pure/osproc.nim
2014-11-03 22:50:55 +01:00
Clay Sweetser
8a53732910 Fixes #1583 2014-10-24 02:03:35 -04:00
Araq
ca4d7b1ea8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-21 22:41:32 +02:00
Araq
53a9d6f5cd Merge branch 'devel' into bigbreak
Conflicts:
	compiler/nim.ini
	doc/manual.txt
	doc/tut2.txt
	koch.nim
	lib/system/channels.nim
	readme.txt
	tools/niminst/niminst.nim
	tools/nimweb.nim
	web/download.txt
	web/news.txt
2014-10-20 08:44:00 +02:00
Araq
1a36a4281e 'koch install' works again 2014-10-20 01:34:59 +02:00
Araq
4cca562c4a minor updates to koch.nim 2014-10-19 16:40:42 +02:00
Araq
dc8d8ebb79 website updates for 0.9.6 2014-10-19 16:07:14 +02:00
Clay Sweetser
99b36cb71e Allow koch.nim to be run without a failure if given no arguments. 2014-10-14 21:16:18 -04:00
Araq
c7570dcd3e Merge branch 'devel' into bigbreak
Conflicts:
	compiler/ast.nim
	compiler/nimfix/prettybase.nim
	compiler/pragmas.nim
	compiler/sempass2.nim
	doc/manual.txt
	koch.nim
	lib/pure/concurrency/threadpool.nim
	web/news.txt
2014-10-13 08:26:24 +02:00
Araq
ca4c64dd72 zipfile generation works again 2014-10-12 03:13:12 +02:00
Araq
8b93e4132c added untested winrelease target 2014-10-11 01:11:37 +02:00
Araq
2c1f3f75f5 manual split up into multiple files; documented the new concurrency system 2014-10-02 02:33:59 +02:00
Araq
17ce01c3e1 some progress on documentation building 2014-09-17 10:04:36 +02:00
Araq
0f4567d59e koch now uses nim.exe 2014-08-29 02:23:40 +02:00
Araq
5f8ab1653a c2nim is not part of the compiler anymore 2014-06-30 10:40:49 +02:00
Clay Sweetser
24e6baa3e2 Merge branch 'pr_documents_koch' of git://github.com/gradha/Nimrod into gradha-pr_documents_koch
Conflicts:
	web/nimrod.ini
2014-05-31 14:41:34 -04:00
EXetoC
444e8dd8bf Revert changes to koch. 2014-05-14 18:13:15 +02:00
EXetoC
502f7bffa3 Resolve type mismatches. 2014-05-13 15:03:58 +02:00
Charlie
ae6dac6b63 added .ilk files to the koch clean list, these are incremental link information files for MSVC 2014-05-06 14:31:35 -04:00