Adminis-trivia - rename skel files

- rename skels so M-x skel-<tab> gives catalog

Change-Id: Ice25a4ce4d02d09e076f0de51e8443cfab20688d
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
This commit is contained in:
Keith Burns (alagalah)
2016-03-18 07:22:15 -07:00
committed by Gerrit Code Review
parent eec8d3e220
commit ca46d8c501
20 changed files with 35 additions and 35 deletions

View File

@ -27,35 +27,35 @@ Or, generate each file individually:
M-x plugin-configure-skel M-x plugin-configure-skel
M-x find-file <plugin-name>-plugin/Makefile.am M-x find-file <plugin-name>-plugin/Makefile.am
M-x plugin-makefile.skel M-x skel-plugin-makefile
5. Create the api skeleton 5. Create the api skeleton
M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>.api M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>.api
M-x plugin-api-skel M-x skel-plugin-api
6. Create the api message enumeration header file 6. Create the api message enumeration header file
M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>_msg_enum.h M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>_msg_enum.h
M-x plugin-msg-enum-skel M-x skel-plugin-msg-enum
7. Create the "all-api" header file 7. Create the "all-api" header file
M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>_all_api_h.h M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>_all_api_h.h
M-x plugin-all-apih-skel M-x skel-plugin-all-apih
8. Create the main data structure definition header file 8. Create the main data structure definition header file
M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>.h M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>.h
M-x plugin-h-skel M-x skel-plugin-h
9. Create the plugin main C file 9. Create the plugin main C file
M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>.c M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>.c
M-x plugin-main-skel M-x skel-plugin-main
10. Create the vpp-api-test plugin main C file 10. Create the vpp-api-test plugin main C file
M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>_test.c M-x find-file <plugin-name>-plugin/<plugin-name>/<plugin-name>_test.c
M-x plugin-test-skel M-x skel-plugin-test
11. Create the data plane packet processing node 11. Create the data plane packet processing node
M-x find-file <plugin-name>-plugin/<plugin-name>/node.c M-x find-file <plugin-name>-plugin/<plugin-name>/node.c
M-x plugin-node-skel M-x skel-plugin-node
12. Process autotools input files 12. Process autotools input files

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton cli-cmd-skel (define-skeleton skel-cli-cmd
"Insert a CLI command " "Insert a CLI command "
nil nil
'(setq cmd-name (skeleton-read "Command Name: ")) '(setq cmd-name (skeleton-read "Command Name: "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton config-skel (define-skeleton skel-config
"Insert a vlib config skeleton " "Insert a vlib config skeleton "
nil nil
'(setq cfg-name (skeleton-read "Config Class Name: ")) '(setq cfg-name (skeleton-read "Config Class Name: "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton dual-loop-skel (define-skeleton skel-dual-loop
"Insert a skeleton dual-loop graph node" "Insert a skeleton dual-loop graph node"
nil nil
'(setq node-name (skeleton-read "Node Name: ")) '(setq node-name (skeleton-read "Node Name: "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton periodic-skel (define-skeleton skel-periodic
"Insert a skeleton periodic process node" "Insert a skeleton periodic process node"
nil nil
'(setq node-name (skeleton-read "Name: ")) '(setq node-name (skeleton-read "Name: "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton pipeline-node-skel (define-skeleton skel-pipeline-node
"Insert a skeleton pipelined graph node" "Insert a skeleton pipelined graph node"
nil nil
'(setq node-name (skeleton-read "Node Name: ")) '(setq node-name (skeleton-read "Node Name: "))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-all-apih-skel (define-skeleton skel-plugin-all-apih
"Insert a plug-in 'all_api_h.h' skeleton " "Insert a plug-in 'all_api_h.h' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-api-skel (define-skeleton skel-plugin-api
"Insert a plug-in '<name>.api' skeleton " "Insert a plug-in '<name>.api' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-configure-skel (define-skeleton skel-plugin-configure
"Insert a plug-in 'configure.ac' skeleton " "Insert a plug-in 'configure.ac' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-h-skel (define-skeleton skel-plugin-h
"Insert a plug-in 'main.c' skeleton " "Insert a plug-in 'main.c' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-main-skel (define-skeleton skel-plugin-main
"Insert a plug-in 'main.c' skeleton " "Insert a plug-in 'main.c' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-makefile-skel (define-skeleton skel-plugin-makefile
"Insert a plug-in 'Makefile.am' skeleton " "Insert a plug-in 'Makefile.am' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-msg-enum-skel (define-skeleton skel-plugin-msg-enum
"Insert a plug-in message enumeration skeleton " "Insert a plug-in message enumeration skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-node-skel (define-skeleton skel-plugin-node
"Insert a plug-in 'node.c' skeleton " "Insert a plug-in 'node.c' skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -15,7 +15,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton plugin-test-skel (define-skeleton skel-plugin-test
"Insert a plug-in vpp-api-test skeleton " "Insert a plug-in vpp-api-test skeleton "
nil nil
'(if (not (boundp 'plugin-name)) '(if (not (boundp 'plugin-name))

View File

@ -13,23 +13,23 @@
(setq cd-args (concat start-dir plugin-name "-plugin")) (setq cd-args (concat start-dir plugin-name "-plugin"))
(setq default-directory cd-args) (setq default-directory cd-args)
(find-file "Makefile.am") (find-file "Makefile.am")
(plugin-makefile-skel) (skel-plugin-makefile)
(find-file "configure.ac") (find-file "configure.ac")
(plugin-configure-skel) (skel-plugin-configure)
(setq default-directory (concat cd-args "/" plugin-name)) (setq default-directory (concat cd-args "/" plugin-name))
(find-file (concat plugin-name ".api")) (find-file (concat plugin-name ".api"))
(plugin-api-skel) (skel-plugin-api)
(find-file (concat plugin-name "_all_api_h.h")) (find-file (concat plugin-name "_all_api_h.h"))
(plugin-all-apih-skel) (skel-plugin-all-apih)
(find-file (concat plugin-name ".h")) (find-file (concat plugin-name ".h"))
(plugin-h-skel) (skel-plugin-h)
(find-file (concat plugin-name ".c")) (find-file (concat plugin-name ".c"))
(plugin-main-skel) (skel-plugin-main)
(find-file (concat plugin-name "_msg_enum.h")) (find-file (concat plugin-name "_msg_enum.h"))
(plugin-msg-enum-skel) (skel-plugin-msg-enum)
(find-file "node.c") (find-file "node.c")
(plugin-node-skel) (skel-plugin-node)
(find-file (concat plugin-name "_test.c")) (find-file (concat plugin-name "_test.c"))
(plugin-test-skel) (skel-plugin-test)
(cd start-dir)))) (cd start-dir))))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton tunnel-c-skel (define-skeleton skel-tunnel-c
"Insert a tunnel cli/api implementation" "Insert a tunnel cli/api implementation"
nil nil
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): ")) '(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton tunnel-decap-skel (define-skeleton skel-tunnel-decap
"Insert a tunnel decap implementation" "Insert a tunnel decap implementation"
nil nil
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): ")) '(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton tunnel-encap-skel (define-skeleton skel-tunnel-encap
"Insert a tunnel encap implementation" "Insert a tunnel encap implementation"
nil nil
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): ")) '(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))

View File

@ -2,7 +2,7 @@
(require 'skeleton) (require 'skeleton)
(define-skeleton tunnel-h-skel (define-skeleton skel-tunnel-h
"Insert a tunnel encap header file" "Insert a tunnel encap header file"
nil nil
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): ")) '(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))