Only run compilation when source code is updated
This commit is contained in:
parent
33012f64c7
commit
65b6d65527
@ -40,7 +40,7 @@ else
|
|||||||
execute "compile" do
|
execute "compile" do
|
||||||
cwd "/usr/local/src/strfry"
|
cwd "/usr/local/src/strfry"
|
||||||
command "make setup-golpe && make -j$(nproc)"
|
command "make setup-golpe && make -j$(nproc)"
|
||||||
# action :nothing
|
action :nothing
|
||||||
notifies :create, "link[/usr/local/bin/strfry]", :immediately
|
notifies :create, "link[/usr/local/bin/strfry]", :immediately
|
||||||
notifies :restart, "service[strfry]", :delayed
|
notifies :restart, "service[strfry]", :delayed
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user