mirror of
https://github.com/jwinterm/grim.git
synced 2026-10-29 17:58:33 +01:00
build: update dependencies
This commit is contained in:
+1
-13
@@ -12,18 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
use std::env;
|
||||
use std::path::Path;
|
||||
|
||||
fn main() {
|
||||
// build and versioning information
|
||||
let mut opts = built::Options::default();
|
||||
opts.set_dependencies(true);
|
||||
let out_dir_path = format!("{}{}", env::var("OUT_DIR").unwrap(), "/built.rs");
|
||||
// don't fail the build if something's missing, may just be cargo release
|
||||
let _ = built::write_built_file_with_opts(
|
||||
&opts,
|
||||
Path::new(env!("CARGO_MANIFEST_DIR")),
|
||||
Path::new(&out_dir_path),
|
||||
);
|
||||
built::write_built_file().expect("Failed to acquire build-time information");;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user