summary refs log tree commit diff stats
path: root/compiler/installer.ini
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-03-13 17:03:57 +0100
committerdef <dennis@felsin9.de>2015-03-13 17:03:57 +0100
commit06b986dbd58af03adf476ca3b0c8dbfbf9437c44 (patch)
tree6f64c4020f663944719b0f079ff35aa8d2d4c02b /compiler/installer.ini
parent02432f1052be5fb2976cd340440434eda88494e1 (diff)
downloadNim-06b986dbd58af03adf476ca3b0c8dbfbf9437c44.tar.gz
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
Diffstat (limited to 'compiler/installer.ini')
-rw-r--r--compiler/installer.ini174
1 files changed, 174 insertions, 0 deletions
diff --git a/compiler/installer.ini b/compiler/installer.ini
new file mode 100644
index 000000000..b4160cab3
--- /dev/null
+++ b/compiler/installer.ini
@@ -0,0 +1,174 @@
+; This config file holds configuration information about the Nim compiler
+; and project.
+
+[Project]
+Name: "Nim"
+Version: "$version"
+Platforms: """
+  windows: i386;amd64
+  linux: i386;amd64;powerpc64;arm;sparc;mips;powerpc
+  macosx: i386;amd64;powerpc64
+  solaris: i386;amd64;sparc
+  freebsd: i386;amd64
+  netbsd: i386;amd64
+  openbsd: i386;amd64
+  haiku: i386;amd64
+"""
+
+Authors: "Andreas Rumpf"
+Description: """This is the Nim Compiler. Nim is a new statically typed,
+imperative programming language, that supports procedural, functional, object
+oriented and generic programming styles while remaining simple and efficient.
+A special feature that Nim inherited from Lisp is that Nim's abstract
+syntax tree (AST) is part of the specification - this allows a powerful macro
+system which can be used to create domain specific languages.
+
+Nim is a compiled, garbage-collected systems programming language
+which has an excellent productivity/performance ratio. Nim's design
+focuses on the 3E: efficiency, expressiveness, elegance (in the order of
+priority)."""
+
+App: Console
+License: "copying.txt"
+
+[Config]
+Files: "config/nim.cfg"
+Files: "config/nimdoc.cfg"
+Files: "config/nimdoc.tex.cfg"
+
+[Documentation]
+; Files: "doc/*.html"
+; Files: "doc/*.cfg"
+; Files: "doc/*.pdf"
+; Files: "doc/*.ini"
+Files: "doc/overview.html"
+Start: "doc/overview.html"
+
+
+[Other]
+Files: "readme.txt;install.txt;contributors.txt;copying.txt"
+Files: "configure;makefile"
+Files: "*.ini"
+Files: "koch.nim"
+
+Files: "icons/nim.ico"
+Files: "icons/nim.rc"
+Files: "icons/nim.res"
+Files: "icons/nim_icon.o"
+Files: "icons/koch.ico"
+Files: "icons/koch.rc"
+Files: "icons/koch.res"
+Files: "icons/koch_icon.o"
+
+Files: "compiler/readme.txt"
+Files: "compiler/installer.ini"
+Files: "compiler/nim.nimrod.cfg"
+Files: "compiler/*.nim"
+Files: "doc/*.txt"
+Files: "doc/manual/*.txt"
+Files: "doc/*.nim"
+Files: "doc/*.cfg"
+Files: "compiler/nimfix/*.nim"
+Files: "compiler/nimfix/*.cfg"
+Files: "tools/*.nim"
+Files: "tools/*.cfg"
+Files: "tools/*.tmpl"
+Files: "tools/niminst/*.nim"
+Files: "tools/niminst/*.cfg"
+Files: "tools/niminst/*.tmpl"
+Files: "tools/niminst/*.nsh"
+Files: "web/website.ini"
+Files: "web/*.nim"
+Files: "web/*.txt"
+
+[Lib]
+Files: "lib/nimbase.h"
+Files: "lib/*.nim"
+Files: "lib/*.cfg"
+
+Files: "lib/system/*.nim"
+Files: "lib/core/*.nim"
+Files: "lib/pure/*.nim"
+Files: "lib/pure/*.cfg"
+Files: "lib/pure/collections/*.nim"
+Files: "lib/pure/concurrency/*.nim"
+Files: "lib/pure/unidecode/*.nim"
+Files: "lib/pure/concurrency/*.cfg"
+Files: "lib/impure/*.nim"
+Files: "lib/wrappers/*.nim"
+
+Files: "lib/wrappers/cairo/*.nim"
+Files: "lib/wrappers/gtk/*.nim"
+Files: "lib/wrappers/lua/*.nim"
+Files: "lib/wrappers/opengl/*.nim"
+Files: "lib/wrappers/readline/*.nim"
+Files: "lib/wrappers/sdl/*.nim"
+Files: "lib/wrappers/x11/*.nim"
+Files: "lib/wrappers/zip/*.nim"
+Files: "lib/wrappers/zip/libzip_all.c"
+
+Files: "lib/windows/*.nim"
+Files: "lib/posix/*.nim"
+Files: "lib/js/*.nim"
+Files: "lib/packages/docutils/*.nim"
+
+
+[Other]
+Files: "examples/*.nim"
+Files: "examples/gtk/*.nim"
+Files: "examples/0mq/*.nim"
+Files: "examples/c++iface/*.nim"
+Files: "examples/objciface/*.nim"
+Files: "examples/cross_calculator/"
+
+Files: "examples/*.html"
+Files: "examples/*.txt"
+Files: "examples/*.cfg"
+Files: "examples/*.tmpl"
+
+
+[Windows]
+Files: "bin/nim.exe"
+Files: "bin/nim_debug.exe"
+Files: "bin/c2nim.exe"
+Files: "bin/nimgrep.exe"
+
+Files: "dist/*.dll"
+Files: "koch.exe"
+; Files: "dist/mingw"
+Files: "start.bat"
+BinPath: r"bin;dist\mingw\bin;dist"
+
+;           Section | dir | zipFile | size hint (in KB) | url | exe start menu entry
+Download: r"Documentation|doc|docs.zip|13824|http://nim-lang.org/download/docs-${version}.zip|overview.html"
+Download: r"C Compiler (MingW)|dist|mingw.zip|82944|http://nim-lang.org/download/${mingw}.zip"
+Download: r"Aporia IDE|dist|aporia.zip|97997|http://nim-lang.org/download/aporia-0.1.3.zip|aporia\bin\aporia.exe"
+; for now only NSIS supports optional downloads
+
+[UnixBin]
+Files: "bin/nim"
+
+
+[Unix]
+InstallScript: "yes"
+UninstallScript: "yes"
+
+
+[InnoSetup]
+path = r"c:\Program Files (x86)\Inno Setup 5\iscc.exe"
+flags = "/Q"
+
+[NSIS]
+path = r"c:\Program Files (x86)\NSIS\makensis.exe"
+flags = "/V0"
+
+[C_Compiler]
+path = r""
+flags = "-w"
+
+
+[deb]
+buildDepends: "gcc (>= 4:4.3.2)"
+pkgDepends: "gcc (>= 4:4.3.2)"
+shortDesc: "The Nim Compiler"
+licenses: "bin/nim,MIT;lib/*,MIT;"