diff options
author | Tiago Koji Castro Shibata | 2018-04-04 19:45:10 -0300 |
---|---|---|
committer | Tiago Koji Castro Shibata | 2018-04-04 19:47:50 -0300 |
commit | 796f4e6576a6e0f435637adcc678c9b7d16e2899 (patch) | |
tree | d6f7089fa574cb12424498491cb1bf869a7b7bd6 /Makefile | |
parent | 8041aea8b0c764e88cd962f83d32312a63a59865 (diff) | |
download | aur-796f4e6576a6e0f435637adcc678c9b7d16e2899.tar.gz |
Add containerized test scripts
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -3,8 +3,23 @@ all: .SRCINFO .SRCINFO: PKGBUILD makepkg --printsrcinfo > .SRCINFO -test: +test: systemc + testing-x86_64-build -c -- -n -I systemc/systemc-*.pkg* + +quick-test: makepkg -sf namcap archc-git-*.pkg* -.PHONY: all clean test +systemc: + # Make systemc dependency from AUR + if [ ! -f systemc/systemc-*.pkg* ] ; then \ + rm -rf systemc/ && \ + wget https://aur.archlinux.org/cgit/aur.git/snapshot/systemc.tar.gz && \ + tar xf systemc.tar.gz && \ + cd systemc && makepkg ;\ + fi + +clean: + rm -rf ArchC/ pkg/ src/ systemc/ *.log archc-git-*.pkg* + +.PHONY: all test quick-test systemc clean |