Compare commits
No commits in common. "init-sh-test" and "master" have entirely different histories.
init-sh-te
...
master
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -E
|
|
||||||
|
|
||||||
exec cargo check
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -x
|
|
||||||
set -E
|
|
||||||
|
|
||||||
mkdir build
|
|
||||||
cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Debug
|
|
||||||
ninja -C build
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
trap 'echo Test failed!' ERR
|
|
||||||
name='<Test/+> "Example"'
|
|
||||||
dir=${0%/*}
|
|
||||||
root=$dir/..
|
|
||||||
tmp=$(mktemp -d)
|
|
||||||
trap 'rm -rf $tmp' EXIT
|
|
||||||
rsync -a --exclude=/.git --exclude-from=$root/.gitignore $root/. $tmp/
|
|
||||||
cd $tmp
|
|
||||||
echo "Initializing in $tmp"
|
|
||||||
./init.sh $name
|
|
||||||
echo "Starting the shell in $tmp"
|
|
||||||
echo "Review the files, then exit the shell"
|
|
||||||
${SHELL:-/bin/sh} -i
|
|
||||||
echo "Review successful, cleaning up"
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
trap 'echo Test failed!' ERR
|
|
||||||
name='<Test/+> "Example"'
|
|
||||||
root=$(realpath ${0%/*}/..)
|
|
||||||
tmp=$(mktemp -d)
|
|
||||||
trap 'rm -rf $tmp' EXIT
|
|
||||||
cd $tmp
|
|
||||||
git -C $root archive HEAD | tar -x
|
|
||||||
echo "Initializing in $tmp"
|
|
||||||
./init.sh $name
|
|
||||||
echo "Starting the shell in $tmp"
|
|
||||||
echo "Review the files, then exit the shell"
|
|
||||||
${SHELL:-/bin/sh} -i
|
|
||||||
echo "Review successful, cleaning up"
|
|
||||||
18
test/test.sh
18
test/test.sh
|
|
@ -1,18 +0,0 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
trap 'echo Test failed!' ERR
|
|
||||||
name='<Test/+> "Example"'
|
|
||||||
dir=${0%/*}
|
|
||||||
root=$dir/..
|
|
||||||
tmp=$(mktemp -d)
|
|
||||||
trap 'rm -rf $tmp' EXIT
|
|
||||||
rsync -a --exclude-from=$root/.gitignore $root/. $tmp/
|
|
||||||
cd $tmp
|
|
||||||
git clean -fxdq
|
|
||||||
echo "Initializing in $tmp"
|
|
||||||
./init.sh $name
|
|
||||||
echo "Starting the shell in $tmp"
|
|
||||||
echo "Review the files, then exit the shell"
|
|
||||||
${SHELL:-/bin/sh} -i
|
|
||||||
echo "Review successful, cleaning up"
|
|
||||||
Loading…
Reference in New Issue
Block a user