deno: add updateScript for automatic updates

This'll save time and avoid human error.
Wrote in deno typescript because why not.
This commit is contained in:
06kellyjac
2020-06-06 16:21:38 +01:00
parent 6c03b04e93
commit 55da692e6f
5 changed files with 250 additions and 0 deletions
+2
View File
@@ -61,6 +61,8 @@ rustPlatform.buildRustPackage rec {
installShellCompletion deno.{bash,fish} --zsh _deno
'';
passthru.updateScript = ./update/update.ts;
meta = with stdenv.lib; {
homepage = "https://deno.land/";
changelog = "${src.meta.homepage}/releases/tag/v${version}";