mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-05 20:42:26 +00:00
makefile test.
This commit is contained in:
parent
b797733ce3
commit
85b5c0a00f
1 changed files with 27 additions and 9 deletions
36
makefile
36
makefile
|
|
@ -11,7 +11,7 @@ DPS = dps
|
||||||
VIPACK = vipack
|
VIPACK = vipack
|
||||||
|
|
||||||
|
|
||||||
all: fetch_deps
|
all: deps
|
||||||
#git submodule init
|
#git submodule init
|
||||||
#git submodule update
|
#git submodule update
|
||||||
mkdir -p $(build_dir_path)
|
mkdir -p $(build_dir_path)
|
||||||
|
|
@ -41,16 +41,34 @@ all: fetch_deps
|
||||||
../src/vpkInstaller.Mod \
|
../src/vpkInstaller.Mod \
|
||||||
../src/vipack.Mod -m
|
../src/vipack.Mod -m
|
||||||
|
|
||||||
fetch_deps:
|
deps: $(mkfile_dir_path)/$(DPS)/Internet $(mkfile_dir_path)/$(DPS)/lists $(mkfile_dir_path)/$(DPS)/opts $(mkfile_dir_path)/$(DPS)/time
|
||||||
mkdir -p $(DPS)
|
mkdir -p $(mkfile_dir_path)/$(DPS)
|
||||||
cd $(DPS) && git clone https://github.com/norayr/Internet
|
cd $$(mkfile_dir_path)/(DPS)
|
||||||
cd $(DPS) && git clone https://github.com/norayr/lists
|
ifneq "$(wildcard Internet )" ""
|
||||||
cd $(DPS) && git clone https://github.com/norayr/opts
|
cd Internet && git pull && cd ..
|
||||||
cd $(DPS) && git clone https://github.com/norayr/time
|
else
|
||||||
|
git clone https://github.com/norayr/Internet
|
||||||
|
endif
|
||||||
|
ifneq "$(wildcard lists )" ""
|
||||||
|
cd lists && git pull && cd ..
|
||||||
|
else
|
||||||
|
git clone https://github.com/norayr/lists
|
||||||
|
endif
|
||||||
|
ifneq "$(wildcard opts )" ""
|
||||||
|
cd opts && git pull && cd ..
|
||||||
|
else
|
||||||
|
git clone https://github.com/norayr/opts
|
||||||
|
endif
|
||||||
|
ifneq "$(wildcard time )" ""
|
||||||
|
cd time && git pull && cd ..
|
||||||
|
else
|
||||||
|
git clone https://github.com/norayr/Internet
|
||||||
|
endif
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
mkdir -p $(BLD)
|
mkdir -p $(mkfile_dir_path)/$(BLD)
|
||||||
cd $(BLD) && $(VOC) -s ../src/unix/vpkFiles.Mod ../tst/testFiles.Mod -m
|
cd $(mkfile_dir_path)/$(BLD)
|
||||||
|
$(VOC) -s ../src/unix/vpkFiles.Mod ../tst/testFiles.Mod -m
|
||||||
cd $(BLD) && $(VOC) -s ../src/vpkJsonParser.Mod ../tst/testJsonParser.Mod -m
|
cd $(BLD) && $(VOC) -s ../src/vpkJsonParser.Mod ../tst/testJsonParser.Mod -m
|
||||||
mkfifo /tmp/fifo
|
mkfifo /tmp/fifo
|
||||||
$(BLD)/testFiles
|
$(BLD)/testFiles
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue