Closed albocc closed 3 months ago
I am pretty sure it is because the triplet is hardcoded here https://github.com/igor-petruk/scriptisto/blob/2d0cbbb342894b3cc8bf4d22ce7c6fdb25fe7ff2/data/templates/docker-rust.rs#L6
On macOS you might have something else. I mean, docker is in Linux host, but maybe the arch is not x86_64
. I will try to test this on M1 macOS machine asap,
Meanwhile you can browse /Users/albocc/Library/Caches/scriptisto/bin/Users/albocc/test/baz.rs
to see what directory does it make and the change your own template via scriptisto template edit docker-rust
Expected Behavior
Simply running the example template for
docker-rust
should succeed.Actual Behavior
Running the example yields in an error.
Steps to Reproduce the Problem
cargo install scriptisto
scriptisto new docker-rust > baz.rs
chmod +x baz.rs
./baz.rs
Specifications