sample-code: Add shebang comments to samples with a main() function
This commit is contained in:
3
sample-code/hello.cl
Normal file → Executable file
3
sample-code/hello.cl
Normal file → Executable file
@@ -1,3 +1,6 @@
|
||||
#!/usr/bin/env -S conlang -r false
|
||||
//! Prints "Hello, world!"
|
||||
|
||||
fn main() {
|
||||
println("Hello, world!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user