Rewriting how specs run

This commit is contained in:
Tyler Akins
2023-04-08 11:52:22 -05:00
parent d997ad0e0a
commit 2085dc2792
3 changed files with 382 additions and 202 deletions

View File

@@ -1,16 +1,11 @@
#!/usr/bin/env bash
# Create a package.json so the dependency package is installed in the local
# directory
echo '{"private":true, "dependencies":{"async": "*"}}' > package.json
npm install
# Install or update the specs
if [[ ! -d spec ]]; then
git clone https://github.com/mustache/spec.git spec
else
(
cd spec;
cd spec
git pull
)
fi