petermr / ami3

Integration of cephis and normami code into a single base. Tests will be slimmed down
Apache License 2.0
17 stars 5 forks source link

Consider using jbang for java scripting #65

Open remkop opened 4 years ago

remkop commented 4 years ago

The jbang project may be interesting as a robust and platform-independent replacement of bash scripting.

JBang needs to be installed on the system where the script is run. The jbang README says that at a minimum, Java 8 is required, and Java 11 is recommended (so we don't need to upgrade our version of Java yet). The Installation section in the README has instructions for installing JBang via:

Let's experiment a bit to see if this would be a useful addition to ami, perhaps as a way to "chain" commands.

petermr commented 4 years ago

Looks interesting! Have installed it. One area that looks promising is for debugging methods and their parameters without recompiling.

On Sat, Aug 22, 2020 at 12:29 AM Remko Popma notifications@github.com wrote:

The jbang project https://github.com/jbangdev/jbang may be interesting as a robust and platform-independent replacement of bash scripting.

JBang needs to be installed on the system where the script is run. The jbang README says that at a minimum, Java 8 is required, and Java 11 is recommended (so we don't need to upgrade our version of Java yet). The Installation https://github.com/jbangdev/jbang#installation section in the README has instructions for installing JBang via:

  • SDKMan [linux] / [apple]
  • Chocolatey [windows]
  • Scoop [windows]
  • Homebrew [apple]
  • (Experimental) Linux packages [linux]
  • Docker / GitHub Action [docker]
  • Manual install

Let's experiment a bit to see if this would be a useful addition to ami, perhaps as a way to "chain" commands.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/petermr/ami3/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFTCS4CRYHRVWQAUP3Y42DSB37NRANCNFSM4QHYBECQ .

-- Peter Murray-Rust Founder ContentMine.org and Reader Emeritus in Molecular Informatics Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK