more DRY haxelib dev of projects for testing

This commit is contained in:
2021-08-01 13:02:13 -06:00
parent 72d54c39b4
commit 44f1d712c9
6 changed files with 17 additions and 15 deletions

14
test-env.sh Normal file
View File

@@ -0,0 +1,14 @@
#! /bin/bash
haxelib dev kiss kiss
# Every project with a haxelib.json should be made available to every other project/unit test
projects=$(ls projects)
for project in $projects
do
if [ -e projects/${project}/haxelib.json ]
then
haxelib dev $project projects/$project
# the word project has lost all meaning at this point
fi
done