naggie / dstask

Git powered terminal-based todo/note manager -- markdown note page per task. Single binary!
https://calbryant.uk/blog/dstask-a-taskwarrior-alternative/
MIT License
793 stars 47 forks source link

Compile binaries for Apple silicone #170

Closed kingo55 closed 1 year ago

kingo55 commented 1 year ago

Apple Silicone is being used more and more (including on one of my devices), so I figured we should build and release binaries for those users on M1/M2 chips who don't run Rosetta.

I'm not a go dev, but this is what I've used to compile and run a dstask binary on my hardware. I also don't use/haven't tested the dstask-import binary on my hardware.

dontlaugh commented 1 year ago

Since dstask is pure-Go, cross compilation should work. I haven't tested this yet, though.

dontlaugh commented 1 year ago

@naggie Looked over this script. It's up to you, but I'd be inclined to merge this. You can simply note that apple silicon is experimental.

naggie commented 1 year ago

Merged! Sorry I forgot about this. I'll spin a release in a few days. Thanks @kingo55 and @dontlaugh

kingo55 commented 1 year ago

Thanks for merging guys. It's been running rock solid here on my laptop for months now.