Add the rake option for inferior IRB session and nginx test server.
authorPete <pete@debu.gs>
Sun, 21 Jun 2020 06:03:20 +0000 (23:03 -0700)
committerPete <pete@debu.gs>
Sun, 21 Jun 2020 06:03:20 +0000 (23:03 -0700)
Rakefile

index fde1c0231c0912d352e5326effae43e4f11c0fa2..7985ae270a399d4971f622f438c30cc6e3637918 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -31,3 +31,14 @@ desc "Runs IRB, automatically require()ing #{spec.name}."
 task(:irb) {
        exec "irb -Ilib -r#{spec.name}"
 }
+
+desc "Runs IRB, automatically require()ing #{spec.name}, with "\
+       "acme-suitable options"
+task(:airb) {
+       exec "irb -Ilib -r#{spec.name} --prompt default --noreadline"
+}
+
+desc "Runs nginx test server."
+task(:nginx) {
+       exec "nginx", "-c", "#{__dir__}/doc/nginx.example.conf"
+}