Skip to content

Commit

Permalink
Change executable name
Browse files Browse the repository at this point in the history
I think we can be the official Idris2 now
  • Loading branch information
edwinb committed May 20, 2020
1 parent 8c4727d commit 9cc4cba
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
10 changes: 8 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------------------
Expand All @@ -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
----------------
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
2 changes: 1 addition & 1 deletion config.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion idris2.ipkg
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,4 @@ depends = contrib, network
sourcedir = "src"

main = Idris.Main
executable = idris2sh
executable = idris2
2 changes: 1 addition & 1 deletion idris2rkt.ipkg
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,4 @@ depends = contrib, network
sourcedir = "src"

main = Idris.Main
executable = idris2sh
executable = idris2

0 comments on commit 9cc4cba

Please sign in to comment.