diff --git a/entry/hvigorfile.ts b/entry/hvigorfile.ts new file mode 100644 index 0000000..567099d --- /dev/null +++ b/entry/hvigorfile.ts @@ -0,0 +1,6 @@ +import { hapTasks } from '@ohos/hvigor-ohos-plugin'; + +export default { + system: hapTasks, + plugins: [] +}; diff --git a/scripts/check-init-env.sh b/scripts/check-init-env.sh index 3e1ed97..7c0c215 100755 --- a/scripts/check-init-env.sh +++ b/scripts/check-init-env.sh @@ -28,6 +28,7 @@ check_file "AppScope/app.json5" || FAILED=1 check_file "build-profile.json5" || FAILED=1 check_file "hvigorfile.ts" || FAILED=1 check_file "oh-package.json5" || FAILED=1 +check_file "entry/hvigorfile.ts" || FAILED=1 check_file "entry/oh-package.json5" || FAILED=1 check_file "entry/build-profile.json5" || FAILED=1 check_file "entry/src/main/module.json5" || FAILED=1