Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add vagrant template for Kotlin and TypeScript
- Loading branch information
1 parent
a0f9b42
commit 9b14d6d
Showing
9 changed files
with
77 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.box = "ubuntu/xenial64" | ||
|
||
config.vm.provision "file", source: "scripts", destination: "scripts" | ||
config.vm.provision "file", source: "hello.kt", destination: "hello.kt" | ||
|
||
config.vm.provision "shell", inline: <<-SHELL | ||
echo 'source ~/scripts' >> .bashrc | ||
SHELL | ||
|
||
# OPTIONAL: increase ram and cpus to speed up builds | ||
config.vm.provider "virtualbox" do |v| | ||
v.memory = 4096 | ||
v.cpus = 2 | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fun main(args: Array<String>) { | ||
println("Hello, world!") | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
function install () { | ||
echo 'No install has been added yet, feel free to open a pull request' | ||
} | ||
|
||
function build () { | ||
echo 'No build has been added yet, feel free to open a pull request' | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.box = "ubuntu/xenial64" | ||
|
||
config.vm.provision "file", source: "scripts", destination: "scripts" | ||
config.vm.provision "file", source: "hello.ts", destination: "hello.ts" | ||
|
||
config.vm.provision "shell", inline: <<-SHELL | ||
echo 'source ~/scripts' >> .bashrc | ||
SHELL | ||
|
||
# OPTIONAL: increase ram and cpus to speed up builds | ||
config.vm.provider "virtualbox" do |v| | ||
v.memory = 4096 | ||
v.cpus = 2 | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('hello world'); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
function install () { | ||
echo 'No install has been added yet, feel free to open a pull request' | ||
} | ||
|
||
function build () { | ||
echo 'No build has been added yet, feel free to open a pull request' | ||
} |
Binary file not shown.
Binary file not shown.