travis build example

This commit is contained in:
Olof hagsand 2019-02-04 14:59:07 +01:00
parent 30f322648d
commit 27e6511f35
2 changed files with 7 additions and 3 deletions

View file

@ -54,7 +54,7 @@ SHELL = /bin/sh
SUBDIRS = lib apps include etc datastore util yang
.PHONY: doc all clean depend $(SUBDIRS) install loc TAGS .config.status docker test
.PHONY: doc example all clean depend $(SUBDIRS) install loc TAGS .config.status docker test
all: $(SUBDIRS)
@ -138,7 +138,10 @@ pkg-rpm: dist
pkg-srpm: dist
make -C extras/rpm srpm
test: install-include
example:
(cd $@ && $(MAKE) $(MFLAGS) all)
test: example
(cd $@ && $(MAKE) $(MFLAGS) all)
docker:

View file

@ -43,7 +43,8 @@ SHELL = /bin/sh
.PHONY: all clean distclean depend install uninstall
all:
./all.sh
./test_choice.sh
# ./all.sh
clean: