Compare commits
No commits in common. "19ccdcba5ffcd24270a45725196e19f4f77b6ec3" and "ff3ec96819c5a3835a92ad552de3efd13acc76ba" have entirely different histories.
19ccdcba5f
...
ff3ec96819
1
init.sh
1
init.sh
|
|
@ -52,7 +52,6 @@ git remote remove origin
|
||||||
|
|
||||||
# remove this script from the project (but keep on disk for now)
|
# remove this script from the project (but keep on disk for now)
|
||||||
git rm --cached init.sh
|
git rm --cached init.sh
|
||||||
git rm -r skel-test
|
|
||||||
|
|
||||||
# escape HTML special characters (&, <, and >), but also sed special characters (& again, \, and /)
|
# escape HTML special characters (&, <, and >), but also sed special characters (& again, \, and /)
|
||||||
htmlname=$(echo -n "$name" | sed 's/&/\&/g; s/</\</g; s/>/\>/g; s:[\\/&]:\\&:g')
|
htmlname=$(echo -n "$name" | sed 's/&/\&/g; s/</\</g; s/>/\>/g; s:[\\/&]:\\&:g')
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
# Self-tests
|
|
||||||
|
|
||||||
This directory contains self-tests for the skeleton itself. It should be removed when starting a new project.
|
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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