From 92b5c9f71e7aa288ad7c64e47c8ec18e282857fd Mon Sep 17 00:00:00 2001 From: Alan Pope Date: Mon, 12 Nov 2018 14:50:04 +0000 Subject: [PATCH] Add support for building a snap of fd --- snap/.snapcraft/state | 11 +++++++++++ snap/snapcraft.yaml | 29 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 snap/.snapcraft/state create mode 100644 snap/snapcraft.yaml diff --git a/snap/.snapcraft/state b/snap/.snapcraft/state new file mode 100644 index 0000000..4975803 --- /dev/null +++ b/snap/.snapcraft/state @@ -0,0 +1,11 @@ +!GlobalState +assets: + build-packages: [libmpc3=1.0.3-1, libmpx0=5.4.0-6ubuntu1~16.04.10, libgcc-5-dev=5.4.0-6ubuntu1~16.04.10, + linux-libc-dev=4.4.0-138.164, libc6-dev=2.23-0ubuntu10, cpp-5=5.4.0-6ubuntu1~16.04.10, + binutils=2.26.1-1ubuntu1~16.04.7, 'cpp=4:5.3.1-1ubuntu1', libitm1=5.4.0-6ubuntu1~16.04.10, + 'gcc=4:5.3.1-1ubuntu1', libcilkrts5=5.4.0-6ubuntu1~16.04.10, libasan2=5.4.0-6ubuntu1~16.04.10, + libquadmath0=5.4.0-6ubuntu1~16.04.10, libisl15=0.16.1-1, libtsan0=5.4.0-6ubuntu1~16.04.10, + libubsan0=5.4.0-6ubuntu1~16.04.10, gcc-5=5.4.0-6ubuntu1~16.04.10, liblsan0=5.4.0-6ubuntu1~16.04.10, + libgomp1=5.4.0-6ubuntu1~16.04.10, manpages-dev=4.04-2, libc-dev-bin=2.23-0ubuntu10, + libatomic1=5.4.0-6ubuntu1~16.04.10, libcc1-0=5.4.0-6ubuntu1~16.04.10] + build-snaps: [] diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..a700ef9 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,29 @@ +name: fd +version: git +summary: "A simple, fast and user-friendly alternative to 'find'" +description: | + fd is a simple, fast and user-friendly alternative to find. + - While it does not seek to mirror all of find's powerful functionality, it provides sensible (opinionated) defaults for 80% of the use cases. + Features + Convenient syntax: fd PATTERN instead of find -iname '*PATTERN*'. + Colorized terminal output (similar to ls). + It's fast (see benchmarks below). + Smart case: the search is case-insensitive by default. It switches to case-sensitive if the pattern contains an uppercase character*. + Ignores hidden directories and files, by default. + Ignores patterns from your .gitignore, by default. + Regular expressions. + Unicode-awareness. + The command name is 50% shorter* than find :-). + Parallel command execution with a syntax similar to GNU Parallel. + +grade: stable +confinement: classic + +parts: + fd: + plugin: rust + source: ./ + +apps: + fd: + command: bin/fd \ No newline at end of file