Commit Graph

23 Commits

Author SHA1 Message Date
Adrien Marquès 27ace57523 Update CI and do not use github import path anymore
- use local self-hosted ci : drone instead of circle
- add go modules support
- update import path to be local : git.xdrm.io/go/nix-amer instead of
github.com/xdrm-brackets/nix-amer
2019-11-18 14:27:19 +01:00
Adrien Marquès c37893c209 lint 2018-11-16 06:57:57 +01:00
Adrien Marquès 1a7e1c2db0 add DryRun() method for instruction common interface | add DryRun() method to all instructions | TODO: tests + install/delete 2018-11-14 20:11:07 +01:00
Adrien Marquès 2f95acb851 fix tests 2018-11-14 11:38:21 +01:00
Adrien Marquès a6207e0a34 add parallelism [pre] section run before all other | update readme accordingly 2018-11-14 11:34:27 +01:00
Adrien Marquès 5fd41cae67 add parallelism with sections | todo: add [pre] section executed before all 2018-11-14 11:07:46 +01:00
Adrien Marquès 7e8b45d750 fix buildfile/reader to read last line (without NEWLINE) 2018-11-14 09:58:51 +01:00
Adrien Marquès 3c0f4e0476 migrate to github 2018-11-13 13:13:32 +01:00
xdrm-brackets 8a08f429d2 update cli UI/UX with elapsed time on success | add run command (issue with indentation) 2018-11-12 23:46:10 +01:00
xdrm-brackets 7d50d2d252 rename commands : ins -> install, del -> delete, ser -> service, cnf -> set | readme add 'alias' command description 2018-11-12 22:54:37 +01:00
xdrm-brackets 1df8f9df9e create os/exec generic interface (internal/exec) with 'Default' wrapping os/exec + make tests do not use it 2018-11-11 21:41:02 +01:00
xdrm-brackets 235e30aeb7 unexport ser/systemd | fixes (golint) 2018-11-11 19:03:05 +01:00
xdrm-brackets f094254acc fix clifmt/symbols (forgot the '\r') 2018-11-11 15:12:31 +01:00
xdrm-brackets 20245a9955 remove debug 2018-11-11 15:10:00 +01:00
xdrm-brackets 151ebce573 'cnf' working with INI files + loader + instruction executor now works 2018-11-10 19:04:16 +01:00
xdrm-brackets ea4dfef5e9 update cli ui 2018-11-10 13:21:07 +01:00
xdrm-brackets 1705ff54d8 make buildfile.reader.Execute() execute each instruction + log errors 2018-11-10 13:08:00 +01:00
xdrm-brackets 8e6a3457b1 repo migration from git.xdrm.io/xdrm-brackets to git.xdrm.io/go 2018-11-10 12:48:45 +01:00
xdrm-brackets 464b2539d2 add dry-run cli argument | add buildfile.Reader.Execute() error 2018-11-10 12:45:58 +01:00
xdrm-brackets ff06cccb89 udpdate main program | simplify loaders (no more meta table for distro/package) | add default loader (pkg, ser) values | manage context creation : instruction.CreateContext() | fix tests | no more -distro parameter, only -package 2018-11-10 12:37:38 +01:00
xdrm-brackets f7d930b588 update 'buildfile' using 'instruction' 2018-11-09 22:37:05 +01:00
xdrm-brackets 5d4a47c704 move instruction def + builder out | update reader accordingly | tests pass 2018-11-07 22:54:33 +01:00
xdrm-brackets b355ac5bf5 create internal/buildfile reader+errors | tests for reader [only check syntax and extract without command-specific splitting] 2018-11-07 22:13:47 +01:00