Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
android:
mkdir -p bin
- ../../bin/nitc -o bin/simple.apk src/complete_simple_android.nit
+ ../../bin/nitc -o bin/complete.apk src/complete_simple_android.nit --semi-global
+ ../../bin/nitc -o bin/minimal.apk src/simple_android.nit --semi-global
clean:
rm -rf bin
# See the License for the specific language governing permissions and
# limitations under the License.
+# Entrypoint of an app with all the mnit tests for Android
module complete_simple_android is
+ app_name "mnit Complete"
app_namespace "org.nitlanguage.test_all"
android_api_target 19
end
# Very simple application
module simple is
- app_name("mnit Simple example") # On Android, this name is hidden by the value in `res/values/strings.xml`
+ app_name "mnit Minimal"
app_version(0, 2, git_revision)
end
# limitations under the License.
module simple_android is
- android_manifest("""<uses-permission android:name="android.permission.VIBRATE" />""")
+ app_namespace "org.nitlanguage.test_minimal"
+ android_manifest """<uses-permission android:name="android.permission.VIBRATE" />"""
end
import mnit_android