Created
July 1, 2015 18:23
-
-
Save jbaxleyiii/045d831bb61ba27c0521 to your computer and use it in GitHub Desktop.
Proposed groups in Norma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "apollos-give" | |
tasks: | |
bower: | |
group: "assets" | |
"/workbench": | |
settings: "https://github.com/NewSpring/settings.git" | |
"/vendor": | |
framework: "NewSpring/junction-framework" | |
junction: "NewSpring/junction" | |
"junction-plugins": "NewSpring/junction-plugins" | |
javascript: | |
group: "assets" | |
src: "_source/**/*" | |
dest: "lib/" | |
markup: | |
group: "assets" | |
src: "_source/**/*" | |
dest: "lib/" | |
minify: true | |
sass: | |
group: "assets" | |
src: "_source/**/*" | |
dest: "lib/" | |
comb: true | |
lint: true | |
"meteor-load": | |
group: "assets" | |
src: "lib/**/*" | |
dest: "./" | |
org: "newspring" | |
name: "apollos-give" | |
package: | |
versionsFrom: "1.1.0.2" | |
use: | |
"[email protected]": "both" | |
"reactive-var@=1.0.5": "both" | |
"newspring:apollos-core@=0.1.25": "both" | |
"artwells:[email protected]": "both" | |
"newspring:[email protected]": "client" | |
export: | |
Apollos: "both" | |
test: | |
mocha: "both" | |
"compile-test": | |
group: "assets" | |
"@extend": "javascript" | |
src: "tests/**/*" | |
dest: "workbench/tests" | |
"app-javascript": | |
group: "app" | |
"@extend": "javascript" | |
src: "sample-app/**/*" | |
dest: "workbench/" | |
"app-markup": | |
group: "app" | |
"@extend": "markup" | |
"src": "sample-app/**/*" | |
"dest": "./workbench/" | |
"app-sass": | |
group: "app" | |
"@extend": "sass" | |
src: "sample-app/**/*" | |
dest: "workbench/" | |
"copy": | |
group: "app" | |
"src": "lib/**/*" | |
"dest": "./workbench/packages/apollos-give/lib/" | |
"copy-package": | |
group: "app" | |
"@extend": "copy" | |
"src": "package" | |
"dest": "./workbench/packages/apollos-give/" | |
"order": "post" | |
"ext": [ "js" ] | |
"meteor": | |
group: "app" | |
"dev": true | |
"src": "workbench" | |
"settings": "workbench/settings/development.json" | |
"port": 3050 | |
"mongoUrl": "mongodb://localhost/newspring-core" | |
"packages": [ | |
"meteor-platform" | |
"newspring:apollos-give" | |
"newspring:apollos-rock" | |
"velocity:core@=0.6.0" | |
"mike:mocha" | |
"iron:router" | |
] | |
"platforms": [ | |
"server" | |
"browser" | |
] | |
test: "meteor --test --settings settings/development.json" |
@johnthepink it would break existing tasks vs test definitions :( and would also force each task to only be in one group. Thoughts on this:
name: "cache"
tasks:
javascript:
group: "scripts"
src: "raw/**/*"
dest: "out"
markup:
group: "templates"
src: "raw/**/*"
dest: "out"
copy:
group: [
"templates"
"scripts"
]
src: "raw/**/*"
dest: "out"
(I know its like the same but it has a shared group task)
Github didn't even send me an email that you responded. Gist fail.
That makes sense. I like the idea of tasks being in multiple groups. Your way makes the most sense. It is correct.
yeah no @ mentions is so sad.
Okay I'll prototype some stuff out and have you take a look. Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like this. :)
Would it be tricky do something like this: