From 8f85d843c808f0c7eaacb09dcc15207a7ca1ef76 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 10 Jan 2024 17:41:08 +0800 Subject: [PATCH] add snippet for dune alias stanza --- CHANGELOG.md | 2 ++ snippets/dune.json | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0638bd221..b21c9bf0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ # Unreleased +- Add snippet for dune alias stanza (#1347) + ## 1.15.0 - Fix direnv compatibility by loading the process.env on every command (#1322) diff --git a/snippets/dune.json b/snippets/dune.json index 20f2ae48b..50cb82e5d 100644 --- a/snippets/dune.json +++ b/snippets/dune.json @@ -1,4 +1,8 @@ { + "alias": { + "prefix": "alias", + "body": ["(alias\n (name $1)\n (deps $2))"] + }, "env": { "prefix": "env", "body": ["(env\n ($1 $2))"]