e2e: make examples build per-platform

This commit is contained in:
Andrew
2015-03-27 15:27:03 -06:00
parent dec338e234
commit 042c567a50
13 changed files with 193 additions and 133 deletions

View File

@@ -2,9 +2,10 @@ module.exports = {
dist: 'dist',
distLib: 'dist/lib',
src: {
test: ['src/**/test/*.spec.js'],
spec: ['src/**/test/*.spec.js'],
js: ['src/**/*.js', '!src/**/test/**/*.js'],
e2e: ['src/components/*/test/*/**/*'],
e2eTest: ['src/components/*/test/*/'],
e2e: ['src/components/*/test/**/*'],
html: 'src/**/*.html',
scss: 'src/components/**/*.scss',
},

View File

@@ -19,6 +19,7 @@
}
})
</script>
<script src="platform.js"></script>
</head>
<body ion-app>
</body>

View File

@@ -0,0 +1,2 @@
//TODO find a better override than window
window.IONIC_PLATFORM = '<%= platform %>';