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:

committed by
Gerrit Code Review

parent
eec8d3e220
commit
ca46d8c501
@ -27,35 +27,35 @@ Or, generate each file individually:
|
||||
M-x plugin-configure-skel
|
||||
|
||||
M-x find-file <plugin-name>-plugin/Makefile.am
|
||||
M-x plugin-makefile.skel
|
||||
M-x skel-plugin-makefile
|
||||
|
||||
5. Create the api skeleton
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton cli-cmd-skel
|
||||
(define-skeleton skel-cli-cmd
|
||||
"Insert a CLI command "
|
||||
nil
|
||||
'(setq cmd-name (skeleton-read "Command Name: "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton config-skel
|
||||
(define-skeleton skel-config
|
||||
"Insert a vlib config skeleton "
|
||||
nil
|
||||
'(setq cfg-name (skeleton-read "Config Class Name: "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton dual-loop-skel
|
||||
(define-skeleton skel-dual-loop
|
||||
"Insert a skeleton dual-loop graph node"
|
||||
nil
|
||||
'(setq node-name (skeleton-read "Node Name: "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton periodic-skel
|
||||
(define-skeleton skel-periodic
|
||||
"Insert a skeleton periodic process node"
|
||||
nil
|
||||
'(setq node-name (skeleton-read "Name: "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton pipeline-node-skel
|
||||
(define-skeleton skel-pipeline-node
|
||||
"Insert a skeleton pipelined graph node"
|
||||
nil
|
||||
'(setq node-name (skeleton-read "Node Name: "))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-all-apih-skel
|
||||
(define-skeleton skel-plugin-all-apih
|
||||
"Insert a plug-in 'all_api_h.h' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-api-skel
|
||||
(define-skeleton skel-plugin-api
|
||||
"Insert a plug-in '<name>.api' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-configure-skel
|
||||
(define-skeleton skel-plugin-configure
|
||||
"Insert a plug-in 'configure.ac' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-h-skel
|
||||
(define-skeleton skel-plugin-h
|
||||
"Insert a plug-in 'main.c' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-main-skel
|
||||
(define-skeleton skel-plugin-main
|
||||
"Insert a plug-in 'main.c' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-makefile-skel
|
||||
(define-skeleton skel-plugin-makefile
|
||||
"Insert a plug-in 'Makefile.am' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-msg-enum-skel
|
||||
(define-skeleton skel-plugin-msg-enum
|
||||
"Insert a plug-in message enumeration skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-node-skel
|
||||
(define-skeleton skel-plugin-node
|
||||
"Insert a plug-in 'node.c' skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton plugin-test-skel
|
||||
(define-skeleton skel-plugin-test
|
||||
"Insert a plug-in vpp-api-test skeleton "
|
||||
nil
|
||||
'(if (not (boundp 'plugin-name))
|
||||
|
@ -13,23 +13,23 @@
|
||||
(setq cd-args (concat start-dir plugin-name "-plugin"))
|
||||
(setq default-directory cd-args)
|
||||
(find-file "Makefile.am")
|
||||
(plugin-makefile-skel)
|
||||
(skel-plugin-makefile)
|
||||
(find-file "configure.ac")
|
||||
(plugin-configure-skel)
|
||||
(skel-plugin-configure)
|
||||
(setq default-directory (concat cd-args "/" plugin-name))
|
||||
(find-file (concat plugin-name ".api"))
|
||||
(plugin-api-skel)
|
||||
(skel-plugin-api)
|
||||
(find-file (concat plugin-name "_all_api_h.h"))
|
||||
(plugin-all-apih-skel)
|
||||
(skel-plugin-all-apih)
|
||||
(find-file (concat plugin-name ".h"))
|
||||
(plugin-h-skel)
|
||||
(skel-plugin-h)
|
||||
(find-file (concat plugin-name ".c"))
|
||||
(plugin-main-skel)
|
||||
(skel-plugin-main)
|
||||
(find-file (concat plugin-name "_msg_enum.h"))
|
||||
(plugin-msg-enum-skel)
|
||||
(skel-plugin-msg-enum)
|
||||
(find-file "node.c")
|
||||
(plugin-node-skel)
|
||||
(skel-plugin-node)
|
||||
(find-file (concat plugin-name "_test.c"))
|
||||
(plugin-test-skel)
|
||||
(skel-plugin-test)
|
||||
(cd start-dir))))
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton tunnel-c-skel
|
||||
(define-skeleton skel-tunnel-c
|
||||
"Insert a tunnel cli/api implementation"
|
||||
nil
|
||||
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton tunnel-decap-skel
|
||||
(define-skeleton skel-tunnel-decap
|
||||
"Insert a tunnel decap implementation"
|
||||
nil
|
||||
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton tunnel-encap-skel
|
||||
(define-skeleton skel-tunnel-encap
|
||||
"Insert a tunnel encap implementation"
|
||||
nil
|
||||
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
(require 'skeleton)
|
||||
|
||||
(define-skeleton tunnel-h-skel
|
||||
(define-skeleton skel-tunnel-h
|
||||
"Insert a tunnel encap header file"
|
||||
nil
|
||||
'(setq encap_stack (skeleton-read "encap_stack (e.g ip4_udp_lisp): "))
|
||||
|
Reference in New Issue
Block a user