p-hatan/ mirror

pub repository

mirror.p-hatan.ir

barback

0.12.0

An asset build system. Given a set of input files and a set of transformations (think compilers, preprocessors and the like), will automatically apply the appropriate transforms and generate output files. When inputs are modified, automatically runs the transforms that are affected. Runs transforms asynchronously and in parallel when possible to maximize responsiveness.

This package is discontinued upstream.

Download archive

Readme

Barback is an asset build system. It is the library underlying pub's asset transformers in pub build and pub serve.

Given a set of input files and a set of transformations (think compilers, preprocessors and the like), it will automatically apply the appropriate transforms and generate output files. When inputs are modified, it automatically runs the transforms that are affected.

To learn more, see here.

Changelog

0.12.0

  • Add a Transform.logger.fine function that doesn't print its messages by default. When using Barback with pub in verbose mode, these messages will be printed.

  • Add a Transform.hasInput function that returns whether or not a given secondary input exists.

  • Transformer.allowedExtensions now supports extensions containing multiple periods, such as .dart.js.

  • Transforms now pass their primary inputs through to the next phase by default. A transformer may still overwrite its primary input without causing a collision. If a transformer doesn't overwrite its primary input, it may cause it not to be passed through by calling Transform.consumePrimary. The primary input will be consumed by default if a transformer throws an error.

  • If an input requested with Transform.getInput, Transform.readInput, or Transform.readInputAsString cannot be found, an AssetNotFoundException will be thrown. This was always what the documentation said, but previously a MissingInputException was thrown instead.

  • If a transformer calls Transform.logger.error, the transformer will now be considered to have failed after it finishes running apply(). This means that its outputs will not be consumed by future transformers and its primary input will not be passed through to the next phase.

  • If a transform calls Transform.getInput, Transform.readInput, Transform.readInputAsString, or Transform.hasInput on an input that doesn't exist, the transform will be re-run if that input is created in the future.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add barback
pubspec.yaml
name: barback

# Note! This version is referenced directly in the pub source code in
# lib/src/barback.dart. Pub implicitly places a version constraint on barback
# to ensure users only select a version of barback that works with their current
# version of pub.
#
# When the minor version of this is upgraded, you *must* update that version
# number in pub to stay in sync with this. New patch versions are considered
# backwards compatible, and pub will allow later patch versions automatically.
version: 0.12.0

author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: >
  An asset build system.

  Given a set of input files and a set of transformations (think compilers,
  preprocessors and the like), will automatically apply the appropriate
  transforms and generate output files. When inputs are modified, automatically
  runs the transforms that are affected.

  Runs transforms asynchronously and in parallel when possible to maximize
  responsiveness.
dependencies:
  path: ">=0.9.0 <2.0.0"
  source_maps: ">=0.9.0 <0.10.0"
  stack_trace: ">=0.9.1 <0.10.0"
  collection: ">=0.9.1 <0.10.0"
dev_dependencies:
  scheduled_test: ">=0.9.0 <0.11.0"
  unittest: ">=0.9.0 <0.10.0"
environment:
  sdk: ">=1.0.1 <2.0.0"

Version history

VersionPublishedArchiveSHA-256
0.6.12013-06-27T19:32:00.092360ZDownload41a5a950d21bfbdb3b7b44bd1a0bf3e7d7f4e9a1a6ffd65c6ba745071a0e6f63
0.6.22013-06-28T20:55:34.382960ZDownload022507b9987ce566378423eca5c13fd73a105937def6cac2ec77ab6e5ec96ad7
0.6.3+12013-07-09T00:23:45.022940ZDownloade0f358167c448d69ba5ec7c0e10a020196094bb38ef436b2b762f18f61c90411
0.6.52013-07-16T00:19:01.858800ZDownloadf2b67b1d22c23ee53c175201c3057923f3fff6898e571e8154f67e96633e7e4e
0.6.62013-07-17T19:40:21.011940ZDownload92f36c9125c575e6221f693044624ffc72bdc601a5768f32dc0d90274c015bce
0.6.82013-07-19T20:55:11.594650ZDownloade02fdfe8c2f261c2bf8e05304f0cd149ca663a0ac97ecc3134124b8208722848
0.6.92013-07-22T15:13:12.339110ZDownload48efbcb703034860ec14a3e8a74588ac212f536d457f1898eeddcccc6e8d480e
0.6.9+22013-07-24T03:58:16.370710ZDownload3efd213d8624d9168fdb5f4b8f51b22f5d6a2fc5febcdae5afb9c833d48de9be
0.6.112013-07-25T05:09:28.435240ZDownload7948375abc48d4f25eb0cee0bb295194381c5ce0963bd4d7e9148b482fcdf606
0.6.122013-07-26T20:05:46.431180ZDownload0930842215ea0bc5b2077517d2638a41276bb2516d71959f593cea0cb01f6743
0.6.132013-07-30T21:55:30.182730ZDownloadd8f5e7d460f2729f5a2571d54a884778edf68439e4ab146c6aab4d94a4f78242
0.6.142013-08-02T16:24:10.237860ZDownload988b9fc0307e4d18ab440b366ac30622b58f5d89a7d398f124ef8c500d5155a7
0.6.15+22013-08-05T22:47:48.800520ZDownload120f5dfc0c765ffadb681bc34bd3077c92e2e33ef81be99a4fcfc71d85e8827d
0.6.15+32013-08-06T20:12:41.119180ZDownloadfb1d34b5d2cd375cd626f5bfc65c2eab7257b72e01e3a8b9df68e9ee14b1511f
0.6.172013-08-10T17:35:08.156380ZDownload3136d1c4c86cda29cc59171297f300efb8d15d2e38f9d8b360873a195acade5b
0.6.17+22013-08-12T22:20:45.365610ZDownload4b625598a0c29a04faebb798d1487a4c607822f0abc3a5b876ccb893d502cc03
0.6.192013-08-19T16:09:51.888190ZDownload0ce5fa00031387ebffc13b2b08147a5976a8796398470638c42f845c1808202b
0.6.20+12013-08-22T18:18:55.025840ZDownload7b230ffe4d00c41e0c795db1b9a344d3146c2efa84fb2a7b5dc4a0931669f6be
0.6.21+32013-08-26T17:42:09.608570ZDownload37d1eb2013cd8a260220c0aa6e76b4e9d56fe76a7f31fbc6d56c906c7b59304a
0.7.02013-08-28T19:28:40.844050ZDownload19c08358b6d8d7c046cf989e28b3c77e2771466c29c1012e60667765ad900f47
0.7.12013-09-03T15:49:31.597010ZDownload197288863ae7a33440e7be88058bfac430496b25d8a2c0be205bcd138794ce79
0.7.22013-09-06T15:50:37.612050ZDownloadb3248bc9c7d5d905a0b64ac0e3f5c5fc0c423aadaeacc26dc26bf35df648d28f
0.7.2+12013-09-08T15:46:01.116050ZDownloadac2678347cc5a43530029ef5c9b2e3ab362dd7f19c164d2b717e2f26c11d68bb
0.7.3+12013-09-16T15:43:02.484110ZDownloadebe995044828633ac6dc84856b273f650029770a66154a91fba3250ed140d4cd
0.7.42013-09-18T03:03:16.276340ZDownloadfcbdf5275515e89e822001a874feaeffb1c2405325bc9fdcd2743574169f0dd3
0.7.52013-09-20T23:21:56.529140ZDownload70983b9d55867e19242a772a87977558ceda82d15cb4e6a406605216630c3410
0.7.62013-09-27T14:56:03.266320ZDownload033376404ebf1c1b3d26bd52ca39389dc8519c4d08a3b177b9095454aa6f6f72
0.7.6+42013-10-01T23:47:29.103400ZDownloada6c31509bc7e51cabf40f39c85331f401f2067db2f43b047442f196e671b133f
0.8.02013-10-03T16:26:22.589680ZDownload623e94e53bd11861b88c8a5ec4b93679396969e40125522afb2af2ae94807bcf
0.8.12013-10-04T21:53:27.144490ZDownload31ff752b496accd88f50a8f76644cb2abf12df2e3a5852ee34629faa278f19dd
0.8.22013-10-14T21:44:23.145870ZDownload3eb27d2d28d517de0686cc7b01b2607232aaa19db31c2b71009de846c3998003
0.8.32013-10-17T15:59:44.555210ZDownload24c8f7462de694de43c76a3c109e334591b7281f7c232de59d0ae3aded9043f4
0.8.42013-10-19T21:08:12.083670ZDownload149ef97a0041970fb6d86d21253adab2896e2bb1b6ca9a1e72e925ac74a8af63
0.8.52013-10-21T15:49:50.706320ZDownload0825d611e60720164c03ffc705e24224bc49e20bf5590b579ca977cae262d7d8
0.8.62013-10-24T08:17:58.478100ZDownload9e29195365fd03a63716173eb6a3b1f3df784980910dab6a3cda41e455e889f7
0.8.72013-10-28T14:29:47.640170ZDownloadb83f642918606c1016cf80984ee2f140ca8b712d8d398e90631e7c2ba0bedc94
0.8.82013-10-30T03:28:56.221750ZDownload93136c65813d1fb6e54a6a1ebeea470f8b7583ea02b1e6c7ab711dcb50919343
0.8.92013-10-31T15:15:21.451420ZDownloaddbd520cb841f9c21462a6f9c64df2a091e7ec68752007c6bb6149bbe9275d2f0
0.8.102013-11-01T19:22:35.151710ZDownloadb5746882a2d31b2301e8a9fec8fbd9bc3fb3d3c39980526320b3cb201aa698e6
0.8.10+32013-11-04T16:48:24.811150ZDownloadd26f578f676c8767e1baad00049632bc495f5a0d5909bbe33f5bf2a2555cc94d
0.8.10+42013-11-05T16:04:16.326730ZDownload6cd68a5348fab2d22178b042816aca6399ad36aa1a3d1f90836b91efc259ec8e
0.9.02013-11-06T19:30:47.682080ZDownload34c218e5063b578207d10f902aa51f27388f4dbf2c798fc400a35727ff7f4ce3
0.10.1+32013-11-26T20:28:57.990020ZDownloaddef98051c491e716b23e153ecb6df880d528fc3f74d3795f5ecdd352b8b7a8a9
0.10.2+12013-12-04T18:20:33.736140ZDownloade56487aec8cc2ffa5028bf2959fd6a1edcae63d7c23c1ceaea3ae2e82b4f0c62
0.10.32013-12-09T20:55:05.854770ZDownload90edda9f1b67c3f110c20c3e54bf6cbcecaca3cb8663d2a6040bb8d84fef4a74
0.10.42013-12-10T00:27:23.012950ZDownload929acc92bae4e23d959608aabab7c4ab33cda6825b9d9f7e0130f83ccd97e1f6
0.11.02013-12-13T21:41:10.790080ZDownload449787837c23483d835534ecab1e12506aeb5eb3f1782abd3892d4d6eb06cfe4
0.11.0+12014-01-09T21:03:13.599560ZDownloadeac4531ee9936a89f856999760d2f02cf5ae46132fca6dc3098598292cdac9e9
0.11.0+22014-01-28T00:14:46.785190ZDownload433f7bd1c4f21fe3b2e95b3086165d9e19e930005fb8105ae90beeeeff20ae03
0.11.0+32014-01-29T21:29:45.741270ZDownload06ba67e32a38daec8e34b48b6f0d6889b1e9a8fdcca3a423064ef86c24ffd31b
0.11.12014-02-25T01:22:20.323920ZDownloada3fe9c5a78189e4d7ed20c21d4f16e8db65c65d6cb6f699a763e8387754c78b2
0.12.02014-03-26T23:22:22.127460ZDownloaddc6e6aaaec787b394a67fd667cdf4dba3faa93b749ff99b9c881a71ab8f5b664
0.13.02014-04-08T23:55:22.462440ZDownload1c06a8d929ac07f8b20293add01e2d0de7764c609031280d1a748d2570355a40
0.14.02014-04-22T23:58:46.448090ZDownload711c7d2f8e96ca879694e1b8251423277878d47035ca4f49ff3c9beb37dfc5f5
0.14.0+12014-05-20T22:07:57.538970ZDownload6c3b932e95efa527886f858b1fa43cdc108546481e9c396104e4bc00724f2e61
0.14.0+22014-05-20T22:44:19.315390ZDownloadca71ab8254a950f72bd8d24670a831467bed3f66bd3f49aa824bdace833c48ff
0.14.0+32014-05-28T00:37:48.788310ZDownloadda7d0964ec2378aa1ddabd6a4be4b3e9d6040938322dc1cb2613ea903c3ce3e0
0.14.12014-06-10T22:14:00.527450ZDownload3c345fbfe4d472ee0aa786d6b40570a18b147d86699a7bc079c6be4f8b5ca250
0.14.1+12014-06-19T21:10:42.585440ZDownload43333dd077f6186db95c0c8b8e026cd9101b4a9ad22ccc9a59d8aecbfa533261
0.14.1+22014-07-01T21:58:40.784230ZDownload8ef4f46bc0919049988f084a80018792af4ee75930d11aed8115e6960005c59b
0.14.1+32014-07-02T23:54:14.464590ZDownload7a6d3a67ef5b0e6bd62f2747a0dfe702df895f1b4c0474bfa6854add676476e2
0.14.22014-07-29T23:12:45.654710ZDownload1d008817a29e004784e4072aa7b9e06cb3af5febfbeee4097d5080af2b437bd6
0.15.02014-07-30T23:39:02.190110ZDownloadb34a434b68ca46c60cb5302d406194303ee7c684df469709c09393641011fa35
0.15.0+12014-08-26T19:50:47.303670ZDownloadf32af5671009d4dca9dc45bf353a879991661daed2e9edfe796f2014ffae585a
0.15.22014-09-11T00:30:03.877750ZDownloadf9b0634fc568740c7dce2caf671eb201a764ce3ad77ae2793d531a222d1acb3c
0.15.2+12014-09-11T21:53:16.834550ZDownload0513d1e32067b6d4189f632889114909ac434fabf0383864fabbb765380ce60a
0.15.2+22014-09-24T20:17:19.976430ZDownloadb072d22c24add61baf67346804308329932ce310b63b05ee030fcefd0c2d57d3
0.15.2+32015-02-10T20:33:52.821870ZDownloadbe0edd339da9ae37147e26c59aae1e217c2f77566d1e445d66d8be79282278e3
0.15.2+42015-02-11T00:18:18.444450ZDownloadf2f69f4675987b5b47d3fc36d37215050a46005cf03e67f9e0dee72432f0eb50
0.15.2+52015-07-20T21:46:32.232ZDownload9b5683b4f88cd48647a2a755556dcb21e2ea5370e1d9288a55daa16548cfaced
0.15.2+62015-07-27T21:38:50.097ZDownload091107fea24e91cf9a47d273f15bb247fa5edd8d591b7c89e6194c4f3847c521
0.15.2+72015-09-18T00:29:42.812ZDownloadc9ad954b7139c7797b998ee46907b6790c54553fed49ac19fd810cb1c2cc4062
0.15.2+82016-05-17T17:30:54.906ZDownload11f82ade7cb0088598975806ccf69633244fc74d06592ae8466712c62816bdc1
0.15.2+92016-08-08T22:09:14.125ZDownloadd7d2a527f07d7af61c0c9d91376df6df1dbc8e8a606817b8ec82459ecf91a4af
0.15.2+102017-03-23T21:51:58.546326ZDownload413819f03aacccffe09c36b0407f0496f6f070babad93e2c6a1858e290946d23
0.15.2+112017-05-03T17:41:09.832466ZDownloadf8465bc2f81d4f4ba9a8eb2c565809a544e0c5061ffff86b2b8284809c5f28b1
0.15.2+122017-09-22T20:46:28.171031ZDownload6fa3ecf69cc9ab69b994d0b55ddc565bd681dda89658ad482d9a2df830af2f72
0.15.2+132017-10-05T17:32:17.705995ZDownload1dfcfc57a3485a336212e4aeb83f3a6375d21663359f8d497f95b52b7fa7e3e9
0.15.2+142018-01-08T22:28:20.985162ZDownload645e7a70857759282e88a19c6816413114aed9ec7a42f93565f22997261acf18
0.15.2+152018-03-22T21:42:00.391ZDownload863743ffbf6aa4ca55604f10a178f949124f91a1139118c07c9c3b96664f7189
0.15.2+162018-04-23T23:45:08.858292ZDownloadcd2486c22f0e1ba02b712f39d8e1061bcf38148af403d9ba66443c153d9a02fb

Dependencies

collection "\u003e=0.9.1 \u003c0.10.0"

path "\u003e=0.9.0 \u003c2.0.0"

source_maps "\u003e=0.9.0 \u003c0.10.0"

stack_trace "\u003e=0.9.1 \u003c0.10.0"