Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Matthew Fisher 63c7b575f9 rename chart/ to charts/ 2017-10-17 14:10:49 -07:00
Matthew Fisher 4840c0b4ad add pack-repo plugin, install by default with `draft init`
This bootstraps the client with the `draft pack-repo` plugin, then installs or updates the packs using that plugin. This removes the existing functionality on how packs are written to ~/.draft/packs, but the workflow is identical to the end-user.
2017-10-06 10:44:05 -07:00
Simon Bennett 4abeac5cd1 Fix trivial typo (#153) 2017-06-14 18:02:38 -06:00
Matt Butcher 617494fc3b feat(packs): use go-bindata to pack builtin packs
This replaces the hard-coded built-in packs with a generator that uses
go-bindata to read the `packs/` directory and generate an internal
representation that is compiled into the binary.

It adds the make target `generate`, which is called by the build and
cross-compile steps.

Doing things this way has the following advantages:

- Managing built-in packs is much easier (see #95)
- The packed binaries are compressed, so overall memory footprint is
  smaller

The main disadvantage is that it is harder to share files across the
packs. However, it is likely that these paks would diverge over time
anyway.
2017-06-06 16:53:42 -06:00