makefile change

This commit is contained in:
mane 2020-03-30 19:22:13 +04:00
parent 0015397959
commit 56b1c31a3e

View file

@ -2,7 +2,12 @@
VOC = voc
VERSION_FILE = ./VersionFile.json
test: clean copy-version-file-to-build-dir all run
test: clean create_builds_dir all copy-version-file-to-build-dir run
create_builds_dir:
mkdir ./builds
copy-version-file-to-build-dir:
cp ./$(VERSION_FILE) ./builds/$(VERSION_FILE)
@ -24,8 +29,6 @@ all: http
../PackageFileParser.Mod \
../opium.Mod -m
clean:
cd builds && rm * &
run:
./builds/opium install
@ -52,7 +55,10 @@ json:
../CharacterStack.Mod \
../JsonParser.Mod
clean:
rm -r builds &
run-http-server:
cd httpServer && \
python -m SimpleHTTPServer
python -m SimpleHTTPServer