This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@9856ce2fe6fa:~/EntityFramework.Docs/docs/getting-started/aspnet5/sample/src/EFGetStarted.AspNet5.ExistingDb# dnvm upgrade | |
It appears you don't have Mono available. Remember to get Mono before trying to run application. | |
Determining latest version | |
Latest version is 1.0.0-rc1-update1 | |
dnx-mono.1.0.0-rc1-update1 already installed in /opt/DNX_BRANCH | |
Adding /opt/DNX_BRANCH/runtimes/dnx-mono.1.0.0-rc1-update1/bin to process PATH | |
Updating alias 'default' to 'dnx-mono.1.0.0-rc1-update1' | |
root@9856ce2fe6fa:~/EntityFramework.Docs/docs/getting-started/aspnet5/sample/src/EFGetStarted.AspNet5.ExistingDb# dnvm upgrade -r coreclr | |
Determining latest version | |
Latest version is 1.0.0-rc1-update1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -y install wget curl; | |
echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main" | tee /etc/apt/sources.list.d/llvm.list \ | |
&& wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - \ | |
&& apt-get update | |
apt-get -y install cmake llvm-3.5 clang-3.5 lldb-3.6 lldb-3.6-dev libunwind8 libunwind8-dev gettext git | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PORTAGE_TARBALL="portage-latest.tar.xz" | |
wget http://distfiles.gentoo.org/snapshots/$PORTAGE_TARBALL / | |
mkdir -p /usr && xzcat /$PORTAGE_TARBALL | tar -xf - -C /usr \ | |
&& mkdir -p /usr/portage/{distfiles,metadata,packages} \ | |
&& chown -R portage:portage /usr/portage \ | |
&& echo "masters = gentoo" > /usr/portage/metadata/layout.conf \ | |
&& eselect news read new \ | |
&& env-update \ | |
&& rm -f /$PORTAGE_TARBALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stage3_suffix="" # e.g. -hardened | |
dist="http://distfiles.gentoo.org/releases/amd64/autobuilds" | |
stage3="$(wget -O- ${dist}/latest-stage3-amd64${suffix}.txt | tail -n 1 | cut -f 1 -d ' ')" | |
echo "Downloading and extracting ${stage3}..." | |
echo "${dist}/${stage3}" -q | |
bunzip2 ${stage3} | tar xf - | |
# | busybox tar \ | |
# --exclude="./etc/hosts" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=g++ | |
CCFLAGS=-Wall | |
LDFLAGS=-Wall | |
SOURCES=$(wildcard *.cpp) | |
OBJECTS=$(SOURCES:.c=.o) | |
TARGET=Ludziki | |
all: $(TARGET) | |
$(TARGET): $(OBJECTS) |
NewerOlder