Commit ac5893cf authored by Wohlgemuth, Jason's avatar Wohlgemuth, Jason
Browse files

feat: Update README and build files

parent d748bba4
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
members = ["xylem-cli", "xylem-lib"]
resolver = "2"

[profile.release]
debug = true

[workspace.package]
version = "0.0.9"
authors = ["Jason Wohlgemuth <wohlgemuthjh@ornl.gov>"]
@@ -25,5 +28,6 @@ tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
uriparse = "0.6.4"

[profile.release]
debug = true
[workspace.metadata.cross.build]
default-target = "x86_64-unknown-linux-gnu"
debug-assertions = true

Cross.toml

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
[build]
default-target = "x86_64-unknown-linux-gnu"
 No newline at end of file
+16 −5
Original line number Diff line number Diff line
.PHONY: doc lint test
.PHONY: $(TASKS)

clean:
	@rm -rf ./bin
@@ -29,14 +29,14 @@ doc:
build: clean
	@mkdir -p ./bin
	@cargo build --release --target $(DEFAULT_TARGET)
	@mv target/$(DEFAULT_TARGET)/release/xylem-cli ./bin/xylem-v$(VERSION)
	@mv target/$(DEFAULT_TARGET)/release/xylem ./bin/xylem-v$(VERSION)

build-cross: clean
	@mkdir -p ./bin
	@for target in $(TARGETS) ; do \
		export DISPLAY=:0; \
        cross build --release --target $$target; \
		mv target/$${target}/release/xylem-cli ./bin/xylem_v$(VERSION)_$${target}; \
		mv target/$${target}/release/xylem ./bin/xylem_v$(VERSION)_$${target}; \
    done

release: clean
@@ -48,7 +48,7 @@ version:
# Variables
#
VERSION = `awk -F ' = ' '$$1 ~ /version/ { gsub(/["]/, "", $$2); printf("%s",$$2) }' Cargo.toml`
DEFAULT_TARGET = `awk -F ' = ' '$$1 ~ /default-target/ { gsub(/["]/, "", $$2); printf("%s",$$2) }' Cross.toml | tr . _`
DEFAULT_TARGET = `awk -F ' = ' '$$1 ~ /default-target/ { gsub(/["]/, "", $$2); printf("%s",$$2) }' Cargo.toml | tr . _`
TARGETS = \
	i586-unknown-linux-musl \
	i686-unknown-linux-gnu \
@@ -58,3 +58,14 @@ TARGETS = \
	riscv64gc-unknown-linux-gnu \
	x86_64-unknown-linux-gnu \
	x86_64-unknown-linux-musl
TASKS = \
	clean \
	lint \
	test \
	test-ci \
	test-cross \
	doc \
	build \
	build-cross \
	release \
	version
 No newline at end of file
+1 −2
Original line number Diff line number Diff line
@@ -5,11 +5,10 @@
██  ██  ██████  █████  ████████  ████████  █  █  █
█  ████  █████  █████        ██        ██  ████  █

"Digital xylem" that transports data through workflows with structure and support
```

# Xylem
> Parallel Integration and Processing Engine (Xylem) command line (multi)tool for sustainable science
> "Digital xylem" that transports data through workflows with structure and support

## Installation
> Xylem is currently only tested rigorously on Linux, full Windows support is coming soon