Created
January 31, 2017 18:19
-
-
Save usagi/8bb9bae446c193194e0b77eb572999e2 to your computer and use it in GitHub Desktop.
F# を ubuntu/mono と Visual Studio Code で始めるメモ ref: http://qiita.com/usagi/items/ee8300f897d7b85f6956
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
sudo apt-get install mono-complete fsharp nuget |
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
sudo su - | |
cd /opt | |
nuget FAKE | |
ln -s FAKE.4.50.0 FAKE | |
nuget Paket | |
ln -s Paket.3.35.1 Paket | |
cd /usr/local/bin | |
echo -e '#!/bin/sh\n/opt/FAKE/tools/FAKE.exe $@' > FAKE | |
chmod +x FAKE | |
echo -e '#!/bin/sh\n/opt/Paket/tools/paket.exe $@' > paket | |
chmod +x paket | |
ln -s FAKE FAKE.exe | |
ln -s paket paket.exe |
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
mkdir -p ~/tmp/hoge | |
cd ~/tmp/hoge | |
git init | |
code . |
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
> F#: New Project |
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
console |
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
sh build.sh |
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
mono build/hoge.exe hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment