From 65b6d65527f6869fa5492b80de878fe29b50a386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 8 Jun 2024 17:13:51 +0200 Subject: [PATCH] Only run compilation when source code is updated --- recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/default.rb b/recipes/default.rb index 2c36215..5ecdda7 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -40,7 +40,7 @@ else execute "compile" do cwd "/usr/local/src/strfry" command "make setup-golpe && make -j$(nproc)" - # action :nothing + action :nothing notifies :create, "link[/usr/local/bin/strfry]", :immediately notifies :restart, "service[strfry]", :delayed end