summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-10-27 01:08:01 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-10-27 01:08:01 (EDT)
commitfe46c4b359f2e20a7c91ab4bd027894d277349c9 (patch)
tree85dfc6f610dfa8d9e4016f9bb0f282e8ec51d166 /src
parente12bc2d8c20c47e58cc920ffcbbf8b58133a1022 (diff)
downloadfirman.sh-fe46c4b359f2e20a7c91ab4bd027894d277349c9.zip
firman.sh-fe46c4b359f2e20a7c91ab4bd027894d277349c9.tar.gz
firman.sh-fe46c4b359f2e20a7c91ab4bd027894d277349c9.tar.bz2
Add example source files
Diffstat (limited to 'src')
-rw-r--r--src/foo.sh4
-rw-r--r--src/local.mk3
-rw-r--r--src/main.sh4
3 files changed, 11 insertions, 0 deletions
diff --git a/src/foo.sh b/src/foo.sh
new file mode 100644
index 0000000..39ec45d
--- /dev/null
+++ b/src/foo.sh
@@ -0,0 +1,4 @@
+hello()
+{
+ echo hello world
+}
diff --git a/src/local.mk b/src/local.mk
new file mode 100644
index 0000000..3f18420
--- /dev/null
+++ b/src/local.mk
@@ -0,0 +1,3 @@
+firman_SOURCES += \
+ src/main.sh \
+ src/foo.sh
diff --git a/src/main.sh b/src/main.sh
new file mode 100644
index 0000000..62878e3
--- /dev/null
+++ b/src/main.sh
@@ -0,0 +1,4 @@
+main()
+{
+ hello
+}