Skip to content

Commit 6d769c8

Browse files
author
Scott Miles
committed
construct template
0 parents  commit 6d769c8

File tree

14 files changed

+97
-0
lines changed

14 files changed

+97
-0
lines changed

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "enyo"]
2+
path = enyo
3+
url = [email protected]:enyojs/enyo.git
4+
[submodule "lib/onyx"]
5+
path = lib/onyx
6+
url = [email protected]:enyojs/onyx.git
7+
[submodule "lib/layout"]
8+
path = lib/layout
9+
url = [email protected]:enyojs/layout.git

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bootplate
2+
=========
3+
4+
Application template for packaged Enyo

assets/favicon.ico

1.12 KB
Binary file not shown.

debug.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>Enyo Bootplate App</title>
5+
<link rel="shortcut icon" href="assets/favicon.ico">
6+
<!-- -->
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
<meta name="viewport" content="width=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
9+
<!-- enyo (debug) -->
10+
<script src="enyo/enyo.js"></script>
11+
<!-- application (debug) -->
12+
<script src="source/package.js" type="text/javascript"></script>
13+
</head>
14+
<body class="enyo-unselectable">
15+
<script>
16+
new App().write();
17+
</script>
18+
</body>
19+
</html>

enyo

Submodule enyo added at ea3cad1

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>Enyo Bootplate App</title>
5+
<link rel="shortcut icon" href="assets/favicon.ico">
6+
<!-- -->
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
<meta name="viewport" content="width=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
9+
<!-- css -->
10+
<link href="build/enyo.css" rel="stylesheet">
11+
<link href="build/app.css" rel="stylesheet">
12+
<!-- js -->
13+
<script src="build/enyo.js"></script>
14+
<script src="build/app.js" onerror="alert('No application build found, redirecting to debug.html.'), location='debug.html';"></script>
15+
</head>
16+
<body class="enyo-unselectable">
17+
<script>
18+
new App().write();
19+
</script>
20+
</body>
21+
</html>

lib/layout

Submodule layout added at 7dbbd35

lib/onyx

Submodule onyx added at 11940cd

minify/minify.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
REM build enyo
2+
@CALL ..\enyo\minify\minify.bat
3+
4+
REM build app
5+
@CALL ..\enyo\tools\minify.bat package.js -output ..\build\app
6+
7+
pause

minify/minify.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# build enyo
4+
pushd ../enyo/source/minify > /dev/null
5+
./minify.sh
6+
popd > /dev/null
7+
8+
# build app
9+
../enyo/tools/minify.sh package.js -output ../build/app

0 commit comments

Comments
 (0)