summaryrefslogtreecommitdiff
path: root/node_modules/jake/test/unit/jakefile.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-01-21 14:39:46 +0100
committerMinteck <contact@minteck.org>2022-01-21 14:39:46 +0100
commit3a04cb197f152f171fba679663a91a9bb61d710e (patch)
tree825d8f9b0daab3e434d85704144ca87492da9b92 /node_modules/jake/test/unit/jakefile.js
parentc2aa7bf38fb30de2d04f87f8e7780e4c768ae6b1 (diff)
downloadcobalt-3a04cb197f152f171fba679663a91a9bb61d710e.tar.gz
cobalt-3a04cb197f152f171fba679663a91a9bb61d710e.tar.bz2
cobalt-3a04cb197f152f171fba679663a91a9bb61d710e.zip
Add config management
Diffstat (limited to 'node_modules/jake/test/unit/jakefile.js')
-rw-r--r--node_modules/jake/test/unit/jakefile.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/node_modules/jake/test/unit/jakefile.js b/node_modules/jake/test/unit/jakefile.js
new file mode 100644
index 0000000..89ff523
--- /dev/null
+++ b/node_modules/jake/test/unit/jakefile.js
@@ -0,0 +1,36 @@
+
+task('foo', function () {
+ console.log('ran top-level foo');
+});
+
+task('bar', function () {
+ console.log('ran top-level bar');
+});
+
+task('zerb', function () {
+ console.log('ran zerb');
+});
+
+namespace('zooby', function () {
+ task('zerp', function () {});
+
+ task('derp', ['zerp'], function () {});
+
+ namespace('frang', function () {
+
+ namespace('w00t', function () {
+ task('bar', function () {
+ console.log('ran zooby:frang:w00t:bar');
+ });
+ });
+
+ task('asdf', function () {});
+ });
+
+});
+
+namespace('hurr', function () {
+ namespace('durr');
+});
+
+