fix: make HarmonyOS project initialization reproducible
This commit is contained in:
1 parent
4613919277
commit
c82c1439a7
7 files changed
+193
-53
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
if [ -x "./node_modules/.bin/hvigor" ]; then
|
||||
exec ./node_modules/.bin/hvigor "$@"
|
||||
fi
|
||||
|
||||
if command -v hvigor >/dev/null 2>&1; then
|
||||
exec hvigor "$@"
|
||||
fi
|
||||
|
||||
echo "hvigor not found." >&2
|
||||
echo "Open this project in DevEco Studio first, or install hvigor in your environment, then rerun ./hvigorw." >&2
|
||||
exit 127
|
||||
Reference in new issue
Block a user