This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,3 @@
(rule
(targets a_target)
(action (with-stdout-to a_target (run ./script.sh))))

View file

@ -0,0 +1 @@
(lang dune 1.0)

View file

@ -0,0 +1,6 @@
Changing write permissions of a dependency doesn't cause a re-run
$ chmod -w ./script.sh
$ dune build a_target --display short
script a_target
$ chmod +w ./script.sh
$ dune build a_target --display short

View file

@ -0,0 +1,3 @@
#!/bin/sh
echo 'some contents'