https://github.com/sormuras/bach-init
🆕 Bach's Initialization Program
https://github.com/sormuras/bach-init
Last synced: about 1 month ago
JSON representation
🆕 Bach's Initialization Program
- Host: GitHub
- URL: https://github.com/sormuras/bach-init
- Owner: sormuras
- License: mit
- Created: 2021-04-14T05:37:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-16T04:45:23.000Z (almost 4 years ago)
- Last Synced: 2025-11-29T05:57:28.310Z (8 months ago)
- Language: Java
- Homepage: https://github.com/sormuras/bach
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bach-init
Bach's Initialization Program
## Usage Example
Create an empty example directory for your project and change into it.
- `mkdir example && cd example`
Download Bach's `init.java` program into directory `.bach`. For example via `wget`:
- (_Linux_) `echo 'Files.copy(URI.create("https://init.java.bach.run").toURL().openStream(), Files.createDirectories(Path.of(".bach")).resolve("init.java"))' | jshell -`
- (Windows) `echo Files.copy(URI.create("https://init.java.bach.run").toURL().openStream(), Files.createDirectories(Path.of(".bach")).resolve("init.java")) | jshell -`
Initialize Bach in the current directory with the following command:
- `java .bach/init.java []`
Valid values for the optional `VERSION` token include:
- `main` (_default_) resolves to
- `HEAD` resolves to
Run Bach:
- `java .bach/bin/bach.java --version`