vipak/makefile
2019-04-30 22:11:51 +04:00

32 lines
No EOL
566 B
Makefile

VOC = voc
VERSION_FILE = ./VersionFile.json
test: clean copy-version-file-to-build-dir all run
copy-version-file-to-build-dir:
cp ./$(VERSION_FILE) ./builds/$(VERSION_FILE)
all:
cd builds && \
$(VOC) -s \
../time.Mod \
../logger.Mod \
../diaspora2hugo/src/lists/Sys.Mod \
../diaspora2hugo/src/lists/List.Mod \
../CharacterStack.Mod \
../JsonParser.Mod \
../FileManager.Mod \
../PackageFileParser.Mod \
../opium.Mod -m
clean:
cd builds && rm * &
run:
./builds/opium install
file:
cd builds && \
$(VOC) -s \
../FileManager.Mod -m