Sfoglia il codice sorgente

Remove [brownie] reference

soyjavi 13 anni fa
parent
commit
33367c118b

+ 9 - 7
GruntFile.coffee

@@ -4,14 +4,15 @@ module.exports = (grunt) ->
 
     meta:
       file: 'lungo'
+      temp: "build",
       package: "package",
       plugins: "src/plugins",
       # BETA
-      endpoint: "example/components",
-      version: ".brownie",
+      # endpoint: "example/components",
+      # version: ".brownie",
       # RELEASE
-      # endpoint: "package",
-      # version: "",
+      endpoint: "package",
+      version: "",
       banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
               '   <%= pkg.homepage %>\n' +
               '   Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>' +
@@ -56,14 +57,13 @@ module.exports = (grunt) ->
         coffee: 'src/plugins/calendar/**.coffee'
         stylus: 'src/plugins/calendar/**.styl'
 
-
     coffee:
-      core: files: '<%=meta.endpoint%>/<%=meta.file%><%=meta.version%>/<%=meta.file%>.debug.js': '<%= source.coffee %>'
+      core: files: '<%=meta.temp%>/<%=meta.file%>.debug.js': '<%= source.coffee %>'
       calendar: files: 'package/lungo.calendar/lungo.calendar.js': '<%= source.calendar.coffee %>'
 
     uglify:
       options: compress: false, banner: "<%= meta.banner %>"
-      engine: files: '<%=meta.endpoint%>/<%=meta.file%><%=meta.version%>/<%=meta.file%>.js': '<%=meta.endpoint%>/<%=meta.file%><%=meta.version%>/<%=meta.file%>.debug.js'
+      engine: files: '<%=meta.endpoint%>/<%=meta.file%><%=meta.version%>/<%=meta.file%>.js': '<%=meta.temp%>/<%=meta.file%>.debug.js'
 
     stylus:
       core:
@@ -80,6 +80,8 @@ module.exports = (grunt) ->
     copy:
       theme:
         expand: true, flatten: true, src: '<%=source.theme%>', dest: '<%=meta.package%>/<%=meta.file%>.theme/'
+      icon:
+        expand: false, flatten: true, src: '<%=meta.package%>/<%=meta.file%>.icon/<%=meta.file%>.icon.css', dest: '<%=meta.endpoint%>/<%=meta.file%><%=meta.version%>/<%=meta.file%>.icon.css'
 
     watch:
       coffee:

+ 0 - 1
example/components/lungo.brownie

@@ -1 +0,0 @@
-Subproject commit 97078fc45ca43887adfcd4c0ff9aa7e09729b62b

+ 0 - 13
example/components/lungo.icon/component.json

@@ -1,13 +0,0 @@
-{
-  "name": "lungo.icon",
-  "description": "Lungo Icon Repository",
-  "version": "2.2.0",
-  "homepage": "http://lungo.tapquo.com",
-  "author": {
-    "name": "Tapquo S.L.",
-    "site": "http://tapquo.com"},
-  "main": ["./lungo.icon.css"],
-  "keywords": [ "mobile" ],
-  "dependencies": { "lungo": "~2.2.0" },
-  "license": [ {"type": "GPLv3"}, {"type": "Commercial"}]
-}

File diff suppressed because it is too large
+ 0 - 251
example/components/lungo.icon/lungo.icon.css


+ 5 - 5
example/index.html

@@ -2,7 +2,7 @@
 <html>
 <head>
     <meta charset="utf-8">
-    <title>Brownie</title>
+    <title>Brownie - Lungo 2.2</title>
     <meta name="description" content="">
     <meta name="author" content="Javier Jiménez Villar (@soyjavi)">
     <meta name="HandheldFriendly" content="True">
@@ -45,9 +45,9 @@
              and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
 
     <!-- Main Stylesheet -->
-    <link rel="stylesheet" href="components/lungo.brownie/lungo.css">
-    <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css">
-    <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css">
+    <link rel="stylesheet" href="../package/lungo/lungo.css">
+    <link rel="stylesheet" href="../package/lungo/lungo.theme.css">
+    <link rel="stylesheet" href="../package/lungo/lungo.icon.css">
     <!-- App Stylesheet -->
     <link rel="stylesheet" href="static/stylesheets/app.css">
 </head>
@@ -124,7 +124,7 @@
 
     <!-- Lungo dependencies -->
     <script src="components/quojs/quo.js"></script>
-    <script src="components/lungo.brownie/lungo.debug.js"></script>
+    <script src="../package/lungo/lungo.js"></script>
     <!-- LungoJS - Sandbox App -->
     <script>
         Lungo.init({