aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-11-10 09:54:17 +0100
committerDennis Eriksen <d@ennis.no>2023-11-10 09:54:17 +0100
commitcf84fad0955ff07dd6fe3ec30a17dc134e23c356 (patch)
tree6f85e6017e7a5feacd88270cb942e4e2e007ffcb
parentAdding a python-verion (diff)
downloadmakepass-cf84fad0955ff07dd6fe3ec30a17dc134e23c356.tar.gz
trying out new project structure
-rw-r--r--.gitignore10
-rw-r--r--README.md4
l---------makepass.go1
l---------makepass.rs1
-rw-r--r--src/go/go.mod (renamed from go/go.mod)0
-rw-r--r--src/go/go.sum (renamed from go/go.sum)0
-rw-r--r--src/go/main.go (renamed from go/main.go)0
-rw-r--r--src/rust/Cargo.lock (renamed from rust/Cargo.lock)0
-rw-r--r--src/rust/Cargo.toml (renamed from rust/Cargo.toml)0
-rw-r--r--src/rust/src/main.rs (renamed from rust/src/main.rs)0
10 files changed, 8 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 391cbbf..be203fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,4 @@
-# ignore binaries
-
-/makepass.go
-/makepass.rs
-rust/target
-rust/debug
+# ignore binaries and build-targets
+src/rust/target
+src/rust/debug
+src/go/makepass.go
diff --git a/README.md b/README.md
index 1abd74c..8082199 100644
--- a/README.md
+++ b/README.md
@@ -209,7 +209,7 @@ Bash-version. It's a lot messier than the zsh-version.
Build width (from root folder in repo):
```
-$ go build -C go -o .. -ldflags "-s -w"
+$ go build -C src/go -o .. -ldflags "-s -w"
```
### Perl
@@ -224,7 +224,7 @@ Rust-version. It's fast!
Build with (from root):
```
-$ cargo build --manifest-path rust/Cargo.toml --release && mv rust/target/release/makepass makepass.rs
+$ cargo build --manifest-path src/rust/Cargo.toml --release
```
### Shell
diff --git a/makepass.go b/makepass.go
new file mode 120000
index 0000000..989c9ec
--- /dev/null
+++ b/makepass.go
@@ -0,0 +1 @@
+src/go/makepass.go \ No newline at end of file
diff --git a/makepass.rs b/makepass.rs
new file mode 120000
index 0000000..365e7f2
--- /dev/null
+++ b/makepass.rs
@@ -0,0 +1 @@
+src/rust/target/release/makepass \ No newline at end of file
diff --git a/go/go.mod b/src/go/go.mod
index 108f34b..108f34b 100644
--- a/go/go.mod
+++ b/src/go/go.mod
diff --git a/go/go.sum b/src/go/go.sum
index 8c01403..8c01403 100644
--- a/go/go.sum
+++ b/src/go/go.sum
diff --git a/go/main.go b/src/go/main.go
index a5241a3..a5241a3 100644
--- a/go/main.go
+++ b/src/go/main.go
diff --git a/rust/Cargo.lock b/src/rust/Cargo.lock
index 50747ce..50747ce 100644
--- a/rust/Cargo.lock
+++ b/src/rust/Cargo.lock
diff --git a/rust/Cargo.toml b/src/rust/Cargo.toml
index 181b7a7..181b7a7 100644
--- a/rust/Cargo.toml
+++ b/src/rust/Cargo.toml
diff --git a/rust/src/main.rs b/src/rust/src/main.rs
index 083a99f..083a99f 100644
--- a/rust/src/main.rs
+++ b/src/rust/src/main.rs