diff options
Diffstat (limited to 'data/makefile')
-rw-r--r-- | data/makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/data/makefile b/data/makefile index af215a6c..a13f9095 100644 --- a/data/makefile +++ b/data/makefile @@ -13,11 +13,16 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. # -all: $(patsubst %.ts,%.yaml,$(wildcard recipes/*.ts)) +SETS = default none +all: $(patsubst %,recipes/%.yaml,$(SETS)) graphs: recipes/default.svg -recipes/%.yaml: recipes/%.ts - DENO_NO_UPDATE_CHECK=1 deno run $< > $@ +JSR = deno run + +recipes/none.yaml: + echo > $@ +recipes/default.yaml: recipes/default.js + DENO_NO_UPDATE_CHECK=1 $(JSR) $< > $@ recipes/%.gv.txt: recipes/%.yaml { cd .. && cargo +nightly run --release --bin graph $(patsubst recipes/%.yaml,%,$<); } > $@ |