Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 39 lines (32 sloc) 1.155 kb
7d954aa @mde Added licensing notice.
mde authored
1 #
2 # Geddy JavaScript Web development framework
3 # Copyright 2112 Matthew Eernisse (mde@fleegix.org)
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17
10349a1 @mde Get stuff to work post-install.
mde authored
18 .PHONY: all build install clean uninstall
140ad66 Working on installer, geddy-gen.
mde authored
19
fa906c3 Bundled Jake dependency, sepearated build from install task, started wor...
mde authored
20 all: build
140ad66 Working on installer, geddy-gen.
mde authored
21
fa906c3 Bundled Jake dependency, sepearated build from install task, started wor...
mde authored
22 build:
10349a1 @mde Get stuff to work post-install.
mde authored
23 @echo 'Geddy built.'
91599f5 Pulled out demo app, migrated installation and app-gen to Jake.
mde authored
24
140ad66 Working on installer, geddy-gen.
mde authored
25 install:
10349a1 @mde Get stuff to work post-install.
mde authored
26 @mkdir -p /usr/local/lib/node_modules/geddy && \
27 cp -R ./* /usr/local/lib/node_modules/geddy/ && \
28 ln -snf /usr/local/lib/node_modules/geddy/bin/cli.js /usr/local/bin/geddy && \
29 chmod 755 /usr/local/lib/node_modules/geddy/bin/cli.js && \
30 echo 'Geddy installed.'
91599f5 Pulled out demo app, migrated installation and app-gen to Jake.
mde authored
31
32 clean:
10349a1 @mde Get stuff to work post-install.
mde authored
33 @true
f5191c0 Fixed clean/uninstall snafu.
mde authored
34
35 uninstall:
10349a1 @mde Get stuff to work post-install.
mde authored
36 @rm -f /usr/local/bin/geddy && \
37 rm -fr /usr/local/lib/node_modules/geddy/ && \
38 echo 'Geddy uninstalled.'
Something went wrong with that request. Please try again.