Skip to content

Instantly share code, notes, and snippets.

@prio
Created April 23, 2014 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prio/11206645 to your computer and use it in GitHub Desktop.
Save prio/11206645 to your computer and use it in GitHub Desktop.
Add UPSTREAM_TAG to elixir_wrapper make file
--- a/package.mk
+++ b/package.mk
@@ -3,6 +3,7 @@ DO_NOT_GENERATE_APP_FILE:=true
UPSTREAM_GIT:=git://github.com/elixir-lang/elixir.git
UPSTREAM_REVISION:=master
+UPSTREAM_TAG:=v0.12.0
RETAIN_ORIGINAL_VERSION:=true
ORIGINAL_APP_FILE=$(CLONE_DIR)/src/$(APP_NAME).app.src
@@ -19,5 +20,5 @@ endef
define construct_app_commands
cp -r $(CLONE_DIR)/lib/elixir/ebin $(APP_DIR)
cp -r $(CLONE_DIR)/lib/elixir/include $(APP_DIR)
- cp -r $(CLONE_DIR)/lib/elixir/priv $(APP_DIR)
+ cp -r $(CLONE_DIR)/lib/elixir/priv $(APP_DIR) 2>/dev/null || :
endef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment