From 84d9a86be8ee216b47920ff3f98b567aa1d296c0 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 31 Aug 2025 23:44:08 +0200 Subject: chore: Initial commit --- update.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 update.sh (limited to 'update.sh') diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..96231c5 --- /dev/null +++ b/update.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env sh + +# rocie - An enterprise grocery management system +# +# Copyright (C) 2024 Benedikt Peetz +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of Rocie. +# +# You should have received a copy of the License along with this program. +# If not, see . + +nix flake update + +[ "$1" = "upgrade" ] && cargo upgrade --incompatible allow --pinned allow --recursive true +cargo update --recursive +# vim: ft=sh -- cgit 1.4.1