diff --git a/.gitignore b/.gitignore index 1c9cc30..f6f2554 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +build/ + # Binaries for programs and plugins *.exe *.exe~ diff --git a/Makefile b/Makefile index 044c2dd..16c08d2 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ BUILD_DIR=$(ROOT_DIR)/build UNAME_S= $(shell uname -s) ARCH=amd64 -lcpchecker=cmd/lcpchecker.go +lcpchecker=cmd/lcpchecker/lcpchecker.go #LDFLAGS=-ldflags '-linkmode external -w -extldflags "-static"' LDFLAGS= @@ -23,4 +23,4 @@ clean: $(rm) $(BUILD_DIR) $(lcpchecker): - GOPATH=$(BUILD_DIR) GOARCH=$(ARCH) $(CC) ./$@ \ No newline at end of file + GOPATH=$(BUILD_DIR) GOARCH=$(ARCH) $(CC) ./$@ diff --git a/README.md b/README.md index f5e2f88..a5b3694 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,9 @@ A lightweight content management server will also be released, named `pubstore`, Before these tools are available, the current Encryption Tool and Test Frontend Server will be usable with this new lcp-server (their API will be adapted to do so). +`lcpchecker`: + * Simply run `make` in the root of this repository; The binary will be output to `build/bin/lcpchecker` by default. + ## Configuration The configuration is similar to the v1 config, but simplified. @@ -289,4 +292,4 @@ Gorm officially supports the following databases: SQLite, MySQL, PostgreSQL, SQL Note: The proper driver must be included in the codebase and the codebase recompiled for a given database to be usable. See: [https://gorm.io/docs/connecting_to_the_database.html](https://gorm.io/docs/connecting_to_the_database.html)  -The open-source codebase is provided with an **sqlite** driver. It is up to integrators to replace it by the driver of their choice if sqlite does not fit their needs. \ No newline at end of file +The open-source codebase is provided with an **sqlite** driver. It is up to integrators to replace it by the driver of their choice if sqlite does not fit their needs.