|
@@ -98,9 +98,9 @@ all-release: build-release test-release
|
|
|
new_version := "$(convco version --bump)"
|
|
new_version := "$(convco version --bump)"
|
|
|
|
|
|
|
|
# If you're not cafkafk and she isn't dead, don't run this!
|
|
# If you're not cafkafk and she isn't dead, don't run this!
|
|
|
-#
|
|
|
|
|
|
|
+#
|
|
|
# usage: release major, release minor, release patch
|
|
# usage: release major, release minor, release patch
|
|
|
-release:
|
|
|
|
|
|
|
+release:
|
|
|
cargo bump "{{new_version}}"
|
|
cargo bump "{{new_version}}"
|
|
|
git cliff -t "{{new_version}}" > CHANGELOG.md
|
|
git cliff -t "{{new_version}}" > CHANGELOG.md
|
|
|
cargo check
|
|
cargo check
|
|
@@ -110,7 +110,7 @@ release:
|
|
|
git push
|
|
git push
|
|
|
@echo "waiting 10 seconds for github to catch up..."
|
|
@echo "waiting 10 seconds for github to catch up..."
|
|
|
sleep 10
|
|
sleep 10
|
|
|
- gh pr create --draft --title "chore: release v{{new_version}}" --body "This PR was auto-generated by our lovely just file" --reviewer cafkafk
|
|
|
|
|
|
|
+ gh pr create --draft --title "chore: release v{{new_version}}" --body "This PR was auto-generated by our lovely just file" --reviewer cafkafk
|
|
|
@echo "Now go review that and come back and run gh-release"
|
|
@echo "Now go review that and come back and run gh-release"
|
|
|
|
|
|
|
|
@gh-release:
|
|
@gh-release:
|
|
@@ -165,9 +165,9 @@ checksum:
|
|
|
alias c := cross
|
|
alias c := cross
|
|
|
|
|
|
|
|
# Generate release binaries for EZA
|
|
# Generate release binaries for EZA
|
|
|
-#
|
|
|
|
|
|
|
+#
|
|
|
# usage: cross
|
|
# usage: cross
|
|
|
-@cross:
|
|
|
|
|
|
|
+@cross:
|
|
|
# Setup Output Directory
|
|
# Setup Output Directory
|
|
|
mkdir -p ./target/"bin-$(convco version)"
|
|
mkdir -p ./target/"bin-$(convco version)"
|
|
|
|
|
|
|
@@ -179,7 +179,7 @@ alias c := cross
|
|
|
just binary eza x86_64-unknown-linux-gnu
|
|
just binary eza x86_64-unknown-linux-gnu
|
|
|
# just binary_static eza x86_64-unknown-linux-gnu
|
|
# just binary_static eza x86_64-unknown-linux-gnu
|
|
|
just binary eza x86_64-unknown-linux-musl
|
|
just binary eza x86_64-unknown-linux-musl
|
|
|
- just binary_static eza x86_64-unknown-linux-musl
|
|
|
|
|
|
|
+ # just binary_static eza x86_64-unknown-linux-musl
|
|
|
|
|
|
|
|
### aarch
|
|
### aarch
|
|
|
just binary eza aarch64-unknown-linux-gnu
|
|
just binary eza aarch64-unknown-linux-gnu
|
|
@@ -231,7 +231,7 @@ gen_test_dir:
|
|
|
# END grid
|
|
# END grid
|
|
|
|
|
|
|
|
# BEGIN git
|
|
# BEGIN git
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
mkdir -p git
|
|
mkdir -p git
|
|
|
cd git
|
|
cd git
|
|
|
|
|
|
|
@@ -245,27 +245,27 @@ gen_test_dir:
|
|
|
done
|
|
done
|
|
|
|
|
|
|
|
cd ..
|
|
cd ..
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# END git
|
|
# END git
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# BEGIN test_root
|
|
# BEGIN test_root
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
sudo mkdir root
|
|
sudo mkdir root
|
|
|
sudo chmod 777 root
|
|
sudo chmod 777 root
|
|
|
sudo mkdir root/empty
|
|
sudo mkdir root/empty
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# END test_root
|
|
# END test_root
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# BEGIN mknod
|
|
# BEGIN mknod
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
mkdir -p specials
|
|
mkdir -p specials
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
sudo mknod specials/block-device b 3 60
|
|
sudo mknod specials/block-device b 3 60
|
|
|
sudo mknod specials/char-device c 14 40
|
|
sudo mknod specials/char-device c 14 40
|
|
|
sudo mknod specials/named-pipe p
|
|
sudo mknod specials/named-pipe p
|
|
|
|
|
|
|
|
# END test_root
|
|
# END test_root
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
eza -l --grid;
|
|
eza -l --grid;
|
|
|
|
|
|
|
|
# Runs integration tests in nix sandbox
|
|
# Runs integration tests in nix sandbox
|
|
@@ -278,8 +278,7 @@ gen_test_dir:
|
|
|
#
|
|
#
|
|
|
# WARNING: this can cause loss of work
|
|
# WARNING: this can cause loss of work
|
|
|
@idump:
|
|
@idump:
|
|
|
- rm ./tests/cmd/*nix.stderr -f || echo
|
|
|
|
|
|
|
+ rm ./tests/cmd/*nix.stderr -f || echo
|
|
|
rm ./tests/cmd/*nix.stdout -f || echo
|
|
rm ./tests/cmd/*nix.stdout -f || echo
|
|
|
nix build -L ./#trydump
|
|
nix build -L ./#trydump
|
|
|
cp ./result/dump/*nix.* ./tests/cmd/
|
|
cp ./result/dump/*nix.* ./tests/cmd/
|
|
|
-
|
|
|