TeselaGen / fsml.org

A BioMADE Collaboration Project
https://fsml.org
13 stars 3 forks source link

Evaluate Zero Install as an alternative to installing a Deno CLI tool with Dynamic Imports #101

Closed tgadam closed 2 years ago

tgadam commented 2 years ago

Before abandoning Deno for Node.js/Nexe, we'd like to investigate trying to make an installer using a 3rd party tool https://get.0install.net/#mac .

Related to #60

Steps:

  1. Create a small example Deno CLI app that uses dynamic remote import to import some code and execute it
  2. Bundle that CLI app
  3. Create an installer using Zero Install to install the bundle, Deno runtime, and a shell script.
  4. Test the installer on an Apple M1
  5. Test the installer on a Windows VM
tgadam commented 2 years ago

@AndresPrez going to adapt an example to Deno that's in TypeScript and then have @christopher-lamkin try it out on his M1.

tgadam commented 2 years ago

ZeroInstall was not a viable option. We'll be looking to adapt OClif scripts to Deno.