antifuchs / cargo-template-ci Goto Github PK
View Code? Open in Web Editor NEWA cargo subcommand that updates .travis.yml from a template
License: Apache License 2.0
A cargo subcommand that updates .travis.yml from a template
License: Apache License 2.0
As mentioned in djc/askama#192, I think we should make a |yaml
filter that serializes to real YAML, instead of abusing the |json
one (currently results in really not-very-well-indented json-in-yaml).
Steps to reproduce.
cargo init --bin me && cd me
cargo +nightly install cargo-template-ci
RUST_BACKTRACE=1 cargo +nightly template-ci
Expected to have a .travisci.yml
file generated, actual results
โ git:(master) RUST_BACKTRACE=1 cargo template-ci
thread 'main' panicked at 'Could not parse config: Error("invalid type: null, expected struct Metadata", line: 1, column: 4)', libcore/result.rs:1009:5
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
1: std::sys_common::backtrace::_print
2: std::panicking::default_hook::{{closure}}
3: std::panicking::default_hook
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: cargo_template_ci::main
10: std::rt::lang_start::{{closure}}
11: std::panicking::try::do_call
12: __rust_maybe_catch_panic
13: std::rt::lang_start_internal
14: main
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.