Skip to main content

Ralsina.Me — Roberto Alsina's website

Posts about programming

Version 0.1.3 of Hacé is out

A new release of Hacé my make-like tool backed by Croupier is out!

New in this version

Features

  • Set vari­ables from the com­mand line
  • Al­low pass­ing out­put files as ar­gu­ments
  • Au­to mode works bet­ter
  • Han­dle bo­gus ar­gu­ments bet­ter
  • Made --question more verbose, and only report stale tasks matching arguments
  • New -k option to keep going after errors.
  • Switched to croupi­er main, sup­ports de­pend­ing on di­rec­to­ries
  • Au­to­mat­i­cal­ly build bi­na­ries for re­lease
  • Gen­er­al house­keep­ing
  • Build it­self us­ing a Hace­file in­stead of a Make­file
  • Re­ject if two tasks share out­puts (lim­i­ta­tion of croupi­er for now)

Bugs Fixed:

  • Warn about un­known tasks used in com­mand line
  • Tasks with out­puts passed wrong tar­get to croupi­er
  • Com­mand out­put was not vis­i­ble in the log.

Full Changel­og: v0.1.2...v0.1.3

Croupier v0.5.2 released

A new release of Croupier my Crystal library for tasks and dataflow programming is out!

Ver­sion 0.5.2 of coupier, a crys­tal li­brary to do dataflow ori­ent­ed pro­gram­ming.

Changes:

  • Bugs fixed when us­ing au­to mode with de­pen­den­cies that are di­rec­to­ries.

Full Changel­og: v0.5.1...v0.5.2

v0.5.1

A new release of Croupier my Crystal library for tasks and dataflow programming is out!
  • Add sup­port for tasks de­pend­ing on di­rec­to­ries
  • New fast_dirs mode in TaskManager for cheaper directory checks
  • Add progress call­back
  • Add sup­port for pass­ing blocks to Tasks:
Croupier::Task.new output: "fileA", inputs: ["in­put.txt"] do
  puts "task1 run­ning"
  File.read("in­put.txt").downcase
end

Full Changel­og: v0.5.0...v0.5.1

Croupier v0.5.0 is out

A new release of Croupier my Crystal library for tasks and dataflow programming is out!

What's Changed

  • New TaskManager.auto_mode? property
  • Yield on spawn to make con­cur­ren­cy more use­ful
  • More ef­fi­cient in­put han­dling
  • Fix dead­lock­ing bug in par­al­lel run­ner
  • Warn or er­ror when tasks are next in line but not ready

Full Changel­og: v0.4.1...v0.5.0

Croupier v0.4.1 out

A new release of Croupier my Crystal library for tasks and dataflow programming is out!

What's new in v0.4.1?

  • Add mergeable flag for tasks (default true)
  • Added TaskManager.depends_on function

Contents © 2000-2023 Roberto Alsina