Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 90dfb29
Showing
17 changed files
with
1,131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
*.elc | ||
*~ | ||
/*-pkg.el | ||
/*.tar.gz | ||
/.byebug_history | ||
/.python-version | ||
/.ruby-version | ||
/README | ||
/aclocal.m4 | ||
/autom4te.cache | ||
/common.mk | ||
/config.log | ||
/config.status | ||
/configure | ||
/configure.lineno | ||
/elpa | ||
/install-sh | ||
/missing | ||
/test/npm-debug.log | ||
/tmp | ||
Makefile | ||
Makefile.in | ||
elc-stamp | ||
elc-temp | ||
script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Note: This makefile include remake-style target comments. | ||
# These comments before the targets start with #: | ||
# remake --tasks to shows the targets and the comments | ||
|
||
SUBDIRS = ipdb test | ||
|
||
GIT2CL ?= git2cl | ||
RUBY ?= ruby | ||
|
||
lispdir = @lispdir@ | ||
|
||
lisp_files = $(wildcard *.el) | ||
lisp_LISP = $(lisp_files) | ||
include common.mk | ||
|
||
PHONY=check clean dist distclean test check-short check-terse install-short | ||
|
||
EXTRA_DIST = common.mk.in INSTALL.md README.md THANKS $(lisp_files) | ||
|
||
if MAINTAINER_MODE | ||
|
||
#: Remove change log: ChangeLog | ||
rmChangeLog: | ||
rm ChangeLog || true | ||
|
||
#: Create a ChangeLog file from git logs | ||
ChangeLog: rmChangeLog | ||
git log --pretty --numstat --summary | $(GIT2CL) > $@ | ||
|
||
ACLOCAL_AMFLAGS=-I . | ||
|
||
endif | ||
|
||
#: Run all tests | ||
test: check | ||
|
||
#: Run all tests without bloated output | ||
check-short: | ||
$(MAKE) check 2>&1 | $(RUBY) test/make-check-filter.rb | ||
|
||
#: Run all tests without and show just the failure lines | ||
check-terse: | ||
$(MAKE) check 2>&1 | $(RUBY) tes/make-check-filter.rb | grep failure | ||
|
||
#: Run "make install" non-verbosely | ||
install-short: | ||
$(MAKE) install 2>&1 | $(RUBY) test/make-check-filter.rb | ||
|
||
.PHONY: test check check-short rmChangeLog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Emacs Lisp Module to add [ipdb](https://pypi.org/project/ipdb/) support to [realgud](http://github.com/rocky/emacs-dbgr). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
# An autoconf setup script. | ||
# From inside emacs, make sure test-simple is installed and then | ||
# Press C-x C-e at the end of the next line run this script | ||
# (test-simple-run "EMACSLOADPATH=%s ./autogen.sh" (mapconcat 'identity load-path ":")) | ||
ln -fs README.md README | ||
touch common.mk | ||
autoreconf -vfi && \ | ||
autoconf && { | ||
echo "Running configure with --enable-maintainer-mode $@" | ||
./configure --enable-maintainer-mode $@ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
MOSTLYCLEANFILES = *.elc | ||
EMACSLOADPATH=@EMACSLOADPATH@ | ||
|
||
short: | ||
$(MAKE) 2>&1 >/dev/null | ruby $(top_srcdir)/make-check-filter.rb | ||
|
||
%.short: | ||
$(MAKE) $(@:.short=) 2>&1 >/dev/null | ||
|
||
# This is the default target but We need to include an EMACSLOADPATH | ||
.el.elc: | ||
if test "$(EMACS)" != "no"; then \ | ||
am__dir=. am__subdir_includes=''; \ | ||
case $@ in */*) \ | ||
am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \ | ||
am__subdir_includes="-L $$am__dir -L $(srcdir)/$$am__dir"; \ | ||
esac; \ | ||
test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \ | ||
EMACSLOADPATH=$(EMACSLOADPATH) $(EMACS) --batch \ | ||
$(AM_ELCFLAGS) --eval "(progn(package-initialize))" \ | ||
$$am__subdir_includes -L $(builddir) -L $(srcdir) \ | ||
--eval "(defun byte-compile-dest-file (f) \"$@\")" \ | ||
--eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \ | ||
else :; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
dnl FIXME: pick up from realgud.el | ||
AC_INIT(realgud-ipdb, 1.0.0,) | ||
AC_CONFIG_SRCDIR(ipdb/ipdb.el) | ||
AM_INIT_AUTOMAKE([foreign]) | ||
AM_MAINTAINER_MODE | ||
|
||
AC_PATH_PROG([EMACS], [emacs], [emacs]) | ||
AC_ARG_WITH(emacs, AC_HELP_STRING([--with-emacs], | ||
[location of emacs program]), EMACS=$withval) | ||
|
||
AC_MSG_NOTICE("Checking emacs version") | ||
$EMACS -batch -q --no-site-file -eval \ | ||
'(if (<= emacs-major-version 23) | ||
(progn | ||
(error "You need GNU Emacs 24 or better.") | ||
(kill-emacs 1) | ||
) | ||
)' | ||
if test $? -ne 0 ; then | ||
AC_MSG_ERROR([Can't continue until above error is corrected.]) | ||
fi | ||
|
||
################################################################## | ||
# See if --with-lispdir was set. If not, set it to a reasonable default | ||
# based on where bash thinks bashdb is supposed to be installed. | ||
################################################################## | ||
|
||
AM_MISSING_PROG(GIT2CL, git2cl, $missing_dir) | ||
|
||
# Check whether --with-lispdir was given. | ||
if test "${with_lispdir+set}" = set; then : | ||
else | ||
my_lispdir=$(EMACS_PROG=$EMACS $SH_PROG $(dirname $0)/compute-lispdir.sh) | ||
if test "${my_lispdir+set}" = set; then : | ||
with_lispdir=$my_lispdir | ||
echo "'compute-lispdir.sh' lispdir install directory override: '$with_lispdir'" | ||
fi | ||
fi | ||
|
||
## | ||
## Find out where to install the debugger emacs lisp files | ||
## | ||
AM_PATH_LISPDIR | ||
lispdir_realgud=$lispdir/realgud | ||
AC_SUBST([lispdir]) | ||
AC_SUBST([lispdir_realgud]) | ||
|
||
AM_CONDITIONAL(INSTALL_EMACS_LISP, test "x$lispdir_realgud" != "x") | ||
|
||
AC_CONFIG_FILES([Makefile \ | ||
common.mk \ | ||
ipdb/Makefile \ | ||
test/Makefile \ | ||
]) | ||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
lisp_files = $(wildcard *.el) | ||
EXTRA_DIST=$(lisp_files) | ||
lisp_LISP = $(lisp_files) | ||
include ../common.mk | ||
lispdir = @lispdir@/lldb |
Oops, something went wrong.