LISP ONLY: maintain the make-plugin.sh script

Make sure it's invoked in .../src/plugins

Change-Id: I85a05dbd863f3254c017962f635d505482548979
Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
2018-10-03 17:41:29 -04:00
parent 3f2e775e45
commit 5958769b2c

View File

@ -13,6 +13,17 @@
;;; See the License for the specific language governing permissions and
;;; limitations under the License.
(load-file "./all-skel.el")
(make-plugin)
(save-some-buffers t)
(setq start-dir default-directory)
(if (string-match "/src/plugins" start-dir)
(progn (setq cd-args (concat start-dir "../../extras/emacs"))
(setq default-directory cd-args)
(load-file "./all-skel.el")
(setq default-directory start-dir)
(make-plugin)
(save-some-buffers t)
(message "OK..."))
(message "Please run this script from .../src/plugins"))