-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path03_shell_commands.rb
37 lines (25 loc) · 1.08 KB
/
03_shell_commands.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# One-off tasks
# There is one system executable, 'gemmy'.
# Type that by itself to see a list of commands
# Here is the command reference:
# -------------
# make_gem <name>
# -------------
# This generates a gem with some basic structure added.
# It's only a few files; don't be intimidated.
# See the comments in lib/gemmy/tasks/make_gem.rb
# It's probably a good idea to check on RubyGems if the name is taken, because
# it's a little bit of a drag to have to change the name.
# The reinstall script should take care of the development process for the gem.
# It uninstalls, rebuilds the gem executable, then installs it.
# It also creates a skeleton executable using Thor.
# Note that this will prompt you for additional input via gets
# I have manually tested this; it should work.
# -------------
# test
# -------------
# Runs a test suite which is the lib/gemmy/tests/ directory.
# More unit than integration tests. Ensures that the patches are loaded
# in a refinement-based approach and that the methods work as basically
# intended.
# Doesn't yet test the one-off system jobs i.e. make_gem