Upgraded to latest Rust-Empty

This commit is contained in:
Sven Nilsen
2014-06-15 23:33:56 +02:00
parent ff64ac7c93
commit 8d7f1ca7a4
+7 -7
View File
@@ -41,7 +41,7 @@ SOURCE_FILES = $(shell test -e src/ && find src -type f)
COMPILER = rustc
# For release:
COMPILER_FLAGS = -O
COMPILER_FLAGS = -O
# For debugging:
# COMPILER_FLAGS = -g
@@ -93,7 +93,7 @@ endif
all: $(DEFAULT)
help:
$(Q)echo "--- rust-empty (0.4 003)" \
$(Q)echo "--- rust-empty (0.4 004)" \
&& echo "make run - Runs executable" \
&& echo "make exe - Builds main executable" \
&& echo "make lib - Both static and dynamic library" \
@@ -233,7 +233,7 @@ rust-ci-lib: $(LIB_ENTRY_FILE)
) \
|| \
( \
echo -e "before_install:\n - yes | sudo add-apt-repository ppa:hansjorg/rust\n - sudo apt-get update\ninstall:\n - sudo apt-get install rust-nightly\nscript:\n - make lib\n" > .travis.yml \
echo -e "install:\n - wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz -O - | sudo tar zxf - --strip-components 1 -C /usr/local\nscript:\n - make lib\n" > .travis.yml \
&& echo "--- Created '.travis.yml' for library" \
&& cat .travis.yml \
)
@@ -245,7 +245,7 @@ rust-ci-exe: $(EXE_ENTRY_FILE)
) \
|| \
( \
echo -e "before_install:\n - yes | sudo add-apt-repository ppa:hansjorg/rust\n - sudo apt-get update\ninstall:\n - sudo apt-get install rust-nightly\nscript:\n - make exe\n" > .travis.yml \
echo -e "install:\n - wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz -O - | sudo tar zxf - --strip-components 1 -C /usr/local\nscript:\n - make exe\n" > .travis.yml \
&& echo "--- Created '.travis.yml' for executable" \
&& cat .travis.yml \
)
@@ -310,13 +310,13 @@ $(DYLIB): $(SOURCE_FILES) | $(LIB_ENTRY_FILE) $(TARGET_LIB_DIR)
$(Q)$(COMPILER) --target "$(TARGET)" $(COMPILER_FLAGS) --crate-type=dylib $(LIB_ENTRY_FILE) -L "target/$(TARGET)/lib" --out-dir "target/$(TARGET)/lib/" \
&& echo "--- Built dylib"
bin:
bin/:
$(Q)mkdir -p bin
$(TARGET_LIB_DIR):
$(Q)mkdir -p $(TARGET_LIB_DIR)
src:
src/:
$(Q)mkdir -p src
examples-dir:
@@ -338,7 +338,7 @@ git-ignore:
) \
|| \
( \
echo -e ".DS_Store\n*~\n*#\n*.o\n*.so\n*.swp\n*.dylib\n*.dSYM\n*.dll\n*.rlib\n*.dummy\n*.exe\n*-test\n/bin/main\n/bin/test-internal\n/bin/test-external\n/doc/\n/target/\n/build/\n/.rust/\nrusti.sh\n" > .gitignore \
echo -e ".DS_Store\n*~\n*#\n*.o\n*.so\n*.swp\n*.dylib\n*.dSYM\n*.dll\n*.rlib\n*.dummy\n*.exe\n*-test\n/bin/main\n/bin/test-internal\n/bin/test-external\n/doc/\n/target/\n/build/\n/.rust/\nrusti.sh\n/examples/*\n!/examples/*.rs" > .gitignore \
&& echo "--- Created '.gitignore' for git" \
&& cat .gitignore \
)