diff --git a/.gitignore b/.gitignore index 6eeec87..4fffb2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -build -target +/target +/Cargo.lock diff --git a/Makefile b/Makefile deleted file mode 100644 index 5e50ea6..0000000 --- a/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -RUSTC ?= rustc -RUSTDOC ?= rustdoc -BUILD ?= build -LIB := $(BUILD)/$(shell $(RUSTC) --print-file-name src/toml.rs) -TEST := $(BUILD)/tomltest - -all: $(LIB) - --include $(BUILD)/toml.d --include $(BUILD)/tomltest.d - -$(LIB): src/toml.rs - @mkdir -p $(@D) - $(RUSTC) $< --out-dir $(@D) --dep-info - -check: $(TEST) doctest - $(TEST) - -$(TEST): src/toml.rs - $(RUSTC) $< --test -o $@ --dep-info - -doctest: $(LIB) - $(RUSTDOC) --test -L $(BUILD) src/toml.rs - -clean: - rm -rf $(BUILD)