Skip to content

Commit

Permalink
Update installation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed May 10, 2024
1 parent 2029914 commit 9622d0b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 165 deletions.
6 changes: 3 additions & 3 deletions .bach/install.jshell
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ System.out.printf(
Path.of("").toUri()
)

System.out.println("| Source Bach's installer from " + Path.of("src/bach.run/BachInstaller.java").toUri())
System.out.println("| Source Bach.java from " + Path.of("src/bach.run/Bach.java").toUri())

/open src/bach.run/BachInstaller.java
/open src/bach.run/Bach.java

int code = 0
try {
BachInstaller.installDefaultVersionIntoDefaultDirectory();
Bach.init();
}
catch(Throwable throwable) {
System.err.println(throwable);
Expand Down
6 changes: 3 additions & 3 deletions doc/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ Above's commands are a shortcut for the following Java Shell commands and snippe
```shell
mkdir example && cd example
jshell
/open https://src.bach.run/BachInstaller.java
BachInstaller.installDefaultVersionIntoDefaultDirectory()
/open https://src.bach.run/Bach.java
Bach.init()
/exit
```

Consult `BachInstaller`'s API and documentation for customizing the installation process.
Consult `Bach.java`'s source and documentation for customizing the installation process.

## Install Bach using Git

Expand Down
155 changes: 0 additions & 155 deletions src/bach.run/BachInstaller.java

This file was deleted.

2 changes: 1 addition & 1 deletion src/bach.run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ This folder contains Java source files (`.java`) and Java Shell scripts (`.jshel

- https://src.bach.run forwards to https://raw.githubusercontent.com/sormuras/bach/main/src/bach.run - resulting in `404: Not Found`
- https://src.bach.run/install.jshell forwards to https://raw.githubusercontent.com/sormuras/bach/main/src/bach.run/install.jshell
- https://src.bach.run/BachInstaller.java forwards to https://raw.githubusercontent.com/sormuras/bach/main/src/bach.run/BachInstaller.java
- https://src.bach.run/Bach.java forwards to https://raw.githubusercontent.com/sormuras/bach/main/src/bach.run/Bach.java
- https://src.bach.run/Hi.java forwards to https://raw.githubusercontent.com/sormuras/bach/main/src/bach.run/Hi.java
6 changes: 3 additions & 3 deletions src/bach.run/install.jshell
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ System.out.printf(
Path.of("").toUri()
)

System.out.println("| Source Bach's installer from https://src.bach.run/BachInstaller.java ...")
System.out.println("| Source Bach.java from https://src.bach.run/Bach.java ...")

/open https://src.bach.run/BachInstaller.java
/open https://src.bach.run/Bach.java

int code = 0
try {
BachInstaller.installDefaultVersionIntoDefaultDirectory();
Bach.init();
}
catch(Throwable throwable) {
System.err.println(throwable);
Expand Down

0 comments on commit 9622d0b

Please sign in to comment.