summaryrefslogtreecommitdiff
path: root/examples/gem
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-02 08:34:26 +0200
committerPaul Buetow <paul@buetow.org>2026-03-02 08:34:26 +0200
commit5b8ce0b75271af6b4799800178ab3039d97c47b7 (patch)
tree8713a342f84ab8a432f781573dd1a6e7178cd51d /examples/gem
parent3f833b7f82bde48ceb20f4b90407afc928ebe7b3 (diff)
add Justfiles for all examples
Each example directory gets a Justfile with run/dry/debug recipes. The rake and gem examples also include a setup recipe for bundle install. The cli example adds a hosts recipe for the --hosts flag. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'examples/gem')
-rw-r--r--examples/gem/Gemfile.lock2
-rw-r--r--examples/gem/Justfile15
2 files changed, 16 insertions, 1 deletions
diff --git a/examples/gem/Gemfile.lock b/examples/gem/Gemfile.lock
index 502fccc..f426524 100644
--- a/examples/gem/Gemfile.lock
+++ b/examples/gem/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: ../..
specs:
- rcm (0.1.0)
+ rcm (0.1.1)
erb
toml (~> 0.3)
diff --git a/examples/gem/Justfile b/examples/gem/Justfile
new file mode 100644
index 0000000..005267f
--- /dev/null
+++ b/examples/gem/Justfile
@@ -0,0 +1,15 @@
+# Install gem dependencies
+setup:
+ bundle install
+
+# Apply configuration
+run:
+ bundle exec ruby config.rb
+
+# Dry run — show what would change without making changes
+dry:
+ bundle exec ruby config.rb --dry
+
+# Verbose output
+debug:
+ bundle exec ruby config.rb --debug