Skip to content

Instantly share code, notes, and snippets.

View TingPing's full-sized avatar
💭
I may be slow to respond.

Patrick TingPing

💭
I may be slow to respond.
View GitHub Profile
use strict;
use warnings;
use Glib;
use Gtk2 -init;
##############################
# Copyright 2012, Colby Vanden Toorn
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@TingPing
TingPing / meson.tmLanguage
Created February 7, 2017 20:26
Syntax Highlighting for Meson
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Patrick Griffis</string>
<key>fileTypes</key>
<array>
<string>meson.build</string>
<string>meson_options.txt</string>
#!/usr/bin/env python3
# NOTE: This is only useful until Meson 0.38.0 which includes an `uninstall` target.
import argparse
from contextlib import suppress
from os import path, remove
parser = argparse.ArgumentParser()
parser.add_argument('--dry-run', action='store_true')