mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 04:33:45 +03:00
Change executable name
I think we can be the official Idris2 now
This commit is contained in:
parent
8c4727d308
commit
9cc4cba065
10
INSTALL.md
10
INSTALL.md
@ -61,7 +61,13 @@ If all is well, to install, type:
|
||||
If you have [Idris-2-in-Idris-1](https://github.com/edwinb/Idris2-boot)
|
||||
installed:
|
||||
|
||||
* `make all && make install`
|
||||
* `make all IDRIS2_BOOT=idris2boot`
|
||||
* `make install IDRIS2_BOOT=idris2boot`
|
||||
|
||||
If you have an earlier version of this Idris 2 installer
|
||||
|
||||
* `make all`
|
||||
* `make install`
|
||||
|
||||
3: (Optional) Self-hosting step
|
||||
-------------------------------
|
||||
@ -71,7 +77,7 @@ that everything has worked correctly. Assuming that `idris2sh` is in your
|
||||
`PATH`.
|
||||
|
||||
* `make clean` -- to make sure you're building everything with the new version
|
||||
* `make all IDRIS2_BOOT=idris2sh && make install`
|
||||
* `make all && make install`
|
||||
|
||||
4: Running tests
|
||||
----------------
|
||||
|
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ include config.mk
|
||||
export IDRIS2_BOOT ?= idris2
|
||||
|
||||
# Idris 2 executable we're building
|
||||
NAME = idris2sh
|
||||
NAME = idris2
|
||||
TARGETDIR = build/exec
|
||||
TARGET = ${TARGETDIR}/${NAME}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
##### Options which a user might set before building go here #####
|
||||
|
||||
PREFIX ?= $(HOME)/.idris2sh
|
||||
PREFIX ?= $(HOME)/.idris2
|
||||
|
||||
# clang compiles the output much faster than gcc!
|
||||
CC := clang
|
||||
|
@ -148,4 +148,4 @@ depends = contrib, network
|
||||
sourcedir = "src"
|
||||
|
||||
main = Idris.Main
|
||||
executable = idris2sh
|
||||
executable = idris2
|
||||
|
@ -149,4 +149,4 @@ depends = contrib, network
|
||||
sourcedir = "src"
|
||||
|
||||
main = Idris.Main
|
||||
executable = idris2sh
|
||||
executable = idris2
|
||||
|
Loading…
Reference in New Issue
Block a user