Commit Graph

99 Commits

Author SHA1 Message Date
Sergey Avseyev
1492ff33ce define sparc64 platform 2016-07-21 00:08:49 +03:00
Denis Kolodin
b8ab419067 Use relative paths in install script template 2016-07-03 12:05:51 +03:00
Joey Payne
0110a66c68 Use walkPattern to walk both directories and files 2016-06-17 08:38:55 -06:00
Andreas Rumpf
82ccb09b61 fixes niminst regression 2016-06-13 12:18:44 +02:00
Andreas Rumpf
7e8c9eda45 more niminst fixes 2016-06-13 12:18:44 +02:00
Andreas Rumpf
8662e140b4 fixes a niminst regression 2016-06-10 00:52:58 +02:00
Andreas Rumpf
a9f5ffb4c7 fixes a niminst regression 2016-06-10 00:52:05 +02:00
Andreas Rumpf
76c8d6164b added 'koch testinstall' command; more installer related bugfixes 2016-06-09 17:34:57 +02:00
Andreas Rumpf
fb0df95015 fixes #4289 2016-06-08 16:05:29 +02:00
Andreas Rumpf
e0f57ee1a1 finally make niminst smart about which files are important 2016-06-07 13:47:37 +02:00
Araq
0e29eb6f8b use program files rather than c drive 2016-06-07 03:05:27 +02:00
Dominik Picheta
39d802188c Remove trailing slashes from install/deinstall.tmpl. 2016-06-06 21:27:55 +01:00
Dominik Picheta
6c88debd5c Fixed deinstall script after recent install changes. 2016-06-06 01:16:25 +01:00
Dominik Picheta
cb76f266fa Niminst now bundles the compiler dir when packaging. 2016-06-06 00:04:50 +01:00
Dominik Picheta
9d001d207e Fixes #2128. Based on @infinity0's commit. 2016-06-05 14:30:47 +01:00
Adam Strzelecki
fd1011e940 build.sh: Output error messages to stderr
Just in case we are running this in some CI.
2015-10-30 15:09:34 +01:00
Adam Strzelecki
1608bd99eb build.sh: Use shell built-in command trace
Rather than issuing echo "cmd..." then cmd... itself, we enable shell trace
facility via set -x, which is POSIX shell standard command and is compatible
with all UNIX shells.

This effectively cuts build.sh size twice, since we don't need to double stuff
there, also making it human readable.

We are also setting PS4 (trace prefix) to none, instead final echo "SUCCESS",
we issue : SUCCESS command which outputs its contents in trace.
2015-10-30 15:06:15 +01:00
Adam Strzelecki
700b63ad89 Use new #? filter prefix in various places
This silences deprecation warnings and prevent collision with UNIX shebang.
2015-09-30 16:12:31 +02:00
Adam Strzelecki
ac9c1cd6b9 tools: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:17 +02:00
Araq
87f65f5e72 preparations for more Nimble packages; clear licensing; fixes #2949 2015-06-20 23:24:21 +02:00
apense
80d6b0e9ca Fixed gcc batch issue
See #18 on csources. Basically, some Windows system have gcc as a gcc.bat file. This isn't an issue unless you're calling from another batch file (like here). The call chain will follow to gcc.bat and end there, meaning only one command is processed. Using "CALL" before the other batch command will keep the calls in the main batch file after completion, meaning the compilation will actually succeed this way [see technet](https://technet.microsoft.com/en-us/library/bb490873.aspx). Otherwise you have to hope there is a gcc.exe somewhere instead
2015-06-17 13:07:38 -04:00
patrick dw
a400987590 Dropped from TZipFileStream 2015-06-06 08:57:13 -05:00
Sergey Avseyev
a333cf939f Use maximum compression level for XZ tarball 2015-05-26 13:51:22 +03:00
Sergey Avseyev
0fd0ace00c Set file permissions when prepare XZ tarball 2015-05-26 13:43:21 +03: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
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
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
fe4b6826e6 Make *.sh files executable 2015-03-12 13:59:29 +01:00
dyu
19354b62f6 compile nim on freebsd 2015-02-27 17:45:07 +08:00
Hans Raaf
85157f5076 Cleaned up T/P names. 2015-02-19 16:31:07 +01:00
def
fb718f2d04 nimrod -> nim in some filenames 2015-02-14 19:00:11 +01:00
Mikhail Sobolev
342608db0c make FreeBSD's compiler clang
* there's not much documentation about what's in nim.cfg file
* the build.sh template was updated based on darwin
2015-01-12 11:16:52 +02:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
cremno
d682371771 fix NSIS uninstaller filename (fix #1804) 2015-01-01 15:23:13 +01:00
Araq
3f113f946d niminst: use project-version for the zip file 2014-12-29 12:12:05 +01:00
Araq
b6e006fbbe fixes #1646 2014-11-10 01:33:25 +01:00
Araq
8853023fd8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-11-03 12:01:07 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Varriount
1b4dd6f61e Update buildbat.tmpl
Batch scripts generated by `koch csources` now return proper error codes, and stop when there is an error.
2014-11-03 01:51:54 -05:00
Araq
621ead4110 only produce the link to the docs if they are installed 2014-11-03 00:57:31 +01:00
Varriount
be0fbdea65 Update nsis.tmpl 2014-11-02 18:32:25 -05:00
Varriount
72f4620b2a Update nsis.tmpl 2014-11-02 17:47:02 -05:00
Varriount
d5b94390dc Update nsis.tmpl
Fix adding the mingw binary to the path variable
2014-10-25 13:38:14 -04:00
Araq
201d3c9ed0 Merge branch 'devel' into bigbreak
Conflicts:
	web/news.txt
2014-10-23 23:13:49 +02:00
Varriount
b0d9dc4235 Update nsis.tmpl
React appropriately when the user cancels the downloading of a component.
2014-10-21 17:02:32 -04: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
Clay Sweetser
cdd5b503b4 Update the NSIS Installer Script 2014-10-19 02:20:44 -04:00