File: 2001_static_code_hint.patch

package info (click to toggle)
turtlefmt 0.1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: javascript: 68; makefile: 24; sh: 1
file content (17 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: hint that embedded code does not require source distributed
 Embedded code is licensed under the Apache 2.0 license.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-12-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/build.rs
+++ b/build.rs
@@ -18,6 +18,7 @@
 use std::{env, fs};
 
 fn main() {
+    println!("dh-cargo:deb-built-using=parser=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
     // We copy TreeSitter data to a subdirectory of the build directory
     let source_path = Path::new("tree-sitter");
     let build_path = Path::new(&env::var_os("OUT_DIR").unwrap()).join("tree-sitter");