Skip to content

Commit 0d8d91d

Browse files
committed
Initial commit
0 parents  commit 0d8d91d

File tree

6 files changed

+745
-0
lines changed

6 files changed

+745
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.cabal-sandbox
2+
cabal.sandbox.config
3+
dist/

ChangeLog.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Revision history for apfs-auto-snapshot
2+
3+
## 0.0.0.1 -- YYYY-mm-dd
4+
5+
* Under construction

LICENSE

+661
Large diffs are not rendered by default.

Setup.hs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import Distribution.Simple
2+
main = defaultMain

apfs-auto-snapshot.cabal

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
-- Initial apfs-auto-snapshot.cabal generated by cabal init. For further
2+
-- documentation, see http://haskell.org/cabal/users-guide/
3+
4+
-- The name of the package.
5+
name: apfs-auto-snapshot
6+
7+
-- The package version. See the Haskell package versioning policy (PVP)
8+
-- for standards guiding when and how versions should be incremented.
9+
-- https://wiki.haskell.org/Package_versioning_policy
10+
-- PVP summary: +-+------- breaking API changes
11+
-- | | +----- non-breaking API additions
12+
-- | | | +--- code changes with no API change
13+
version: 0.1.0.0
14+
15+
-- A short (one-line) description of the package.
16+
synopsis: Automatically create and manage APFS snapshots
17+
18+
-- A longer description of the package.
19+
-- description:
20+
21+
-- The license under which the package is released.
22+
license: AGPL-3
23+
24+
-- The file containing the license text.
25+
license-file: LICENSE
26+
27+
-- The package author(s).
28+
author: Landon Gilbert-Bland
29+
30+
-- An email address to which users can send suggestions, bug reports, and
31+
-- patches.
32+
maintainer: [email protected]
33+
34+
-- A copyright notice.
35+
-- copyright:
36+
37+
-- category:
38+
39+
build-type: Simple
40+
41+
-- Extra files to be distributed with the package, such as examples or a
42+
-- README.
43+
extra-source-files: ChangeLog.md
44+
45+
-- Constraint on the version of Cabal needed to build this package.
46+
cabal-version: >=1.10
47+
48+
49+
executable apfs-auto-snapshot
50+
-- .hs or .lhs file containing the Main module.
51+
main-is: Main.hs
52+
53+
-- Modules included in this executable, other than Main.
54+
-- other-modules:
55+
56+
-- LANGUAGE extensions used by modules in this package.
57+
-- other-extensions:
58+
59+
-- Other library packages from which modules are imported.
60+
build-depends: base >=4.9 && <4.10
61+
, pcre-heavy
62+
63+
-- Directories containing source files.
64+
hs-source-dirs: src
65+
66+
-- Base language which the package is written in.
67+
default-language: Haskell2010
68+

src/Main.hs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module Main where
2+
3+
import Snapshot
4+
5+
main :: IO ()
6+
main = putStrLn "Hello, Haskell!"

0 commit comments

Comments
 (0)