diff --git a/makefile b/makefile index b981014..c03f34d 100644 --- a/makefile +++ b/makefile @@ -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 \ No newline at end of file + python -m SimpleHTTPServer