Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Adjust how shared scripts are loaded
Browse files Browse the repository at this point in the history
When the `cordova-plugin-meteor-webapp-tests` plugin is
installed, it ends up in an apps `plugins` directory, at
the same level as the `cordova-plugin-meteor-webapp`
plugin. This commit updates the path the tests use to
find the shared `scripts` directory (which is in the
`cordova-plugin-meteor-webapp` plugin) when installed.
  • Loading branch information
hwillson committed Jan 31, 2018
1 parent 77128a6 commit a7d4868
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</config-file>

<platform name="ios">
<hook type="after_plugin_install" src="../scripts/iosAddBridgingHeader.js" />
<hook type="after_plugin_install" src="../cordova-plugin-meteor-webapp/scripts/iosAddBridgingHeader.js" />

<config-file target="config.xml" parent="/*">
<feature name="WebAppMockRemoteServer">
Expand Down
1 change: 0 additions & 1 deletion tests/scripts

This file was deleted.

0 comments on commit a7d4868

Please sign in to comment.