Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adds a quick task option that doesn't update the dependencies. Useful…

… when working offline or you simply don't want to wait for NPM.
  • Loading branch information...
commit 5cdbd3ebc7a7a9e470b0ed5295cda797c4745545 1 parent ce17892
Miguel Madero authored September 29, 2012

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  Makefile
8  Makefile
@@ -35,6 +35,14 @@ install:
35 35
 		chmod 755 $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/bin/cli.js && \
36 36
 		echo 'Geddy installed.'
37 37
 
  38
+quickinstall:
  39
+	@mkdir -p $(DESTDIR)$(PREFIX)/bin && \
  40
+	  mkdir -p $(DESTDIR)$(PREFIX)/lib/node_modules/geddy && \
  41
+		cp -R ./* $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/ && \
  42
+		ln -snf ../lib/node_modules/geddy/bin/cli.js $(DESTDIR)$(PREFIX)/bin/geddy && \
  43
+		chmod 755 $(DESTDIR)$(PREFIX)/lib/node_modules/geddy/bin/cli.js && \
  44
+		echo 'Geddy installed. Geddy dependencies might need to be updated. Use install instead of quick-install to make sure everything is up to date'
  45
+
38 46
 clean:
39 47
 	@true
40 48
 

0 notes on commit 5cdbd3e

Please sign in to comment.
Something went wrong with that request. Please try again.