https://github.com/amtoine/template.c
https://github.com/amtoine/template.c
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/amtoine/template.c
- Owner: amtoine
- License: gpl-3.0
- Created: 2025-02-18T18:58:44.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T09:16:07.000Z (4 months ago)
- Last Synced: 2025-02-22T10:21:07.756Z (4 months ago)
- Language: Makefile
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```nushell
const TEMPLATE = {
base_url: "https://raw.githubusercontent.com/amtoine/template.c"
revision: "1bee7f1b93f3a4f73c1e460de6b9141dfbb035f6"
}const FILES = [ ".clang-format", ".editorconfig", "compile_flags.txt" ]
for file in $FILES {
let url = $"($TEMPLATE.base_url)/($TEMPLATE.revision)/($file)"
print $"(ansi cyan)($url)(ansi reset) -> (ansi purple)($file)(ansi reset)"
http get $url | save --force $file
}
```