Skip to content

Commit c47da52

Browse files
committed
build.sbt
1 parent 124b1ac commit c47da52

File tree

5 files changed

+45
-141
lines changed

5 files changed

+45
-141
lines changed

content/docs/languages/scala/_index.md

Lines changed: 1 addition & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -3,84 +3,4 @@ weight: 10
33
bookCollapseSection: true
44
---
55

6-
# Ubi loqui
7-
8-
## Mentem genus facietque salire tempus bracchia
9-
10-
Lorem markdownum partu paterno Achillem. Habent amne generosi aderant ad pellem
11-
nec erat sustinet merces columque haec et, dixit minus nutrit accipiam subibis
12-
subdidit. Temeraria servatum agros qui sed fulva facta. Primum ultima, dedit,
13-
suo quisque linguae medentes fixo: tum petis.
14-
15-
## Rapit vocant si hunc siste adspice
16-
17-
Ora precari Patraeque Neptunia, dixit Danae [Cithaeron
18-
armaque](http://mersis-an.org/litoristum) maxima in **nati Coniugis** templis
19-
fluidove. Effugit usus nec ingreditur agmen *ac manus* conlato. Nullis vagis
20-
nequiquam vultibus aliquos altera *suum venis* teneas fretum. Armos [remotis
21-
hoc](http://tutum.io/me) sine ferrea iuncta quam!
22-
23-
## Locus fuit caecis
24-
25-
Nefas discordemque domino montes numen tum humili nexilibusque exit, Iove. Quae
26-
miror esse, scelerisque Melaneus viribus. Miseri laurus. Hoc est proposita me
27-
ante aliquid, aura inponere candidioribus quidque accendit bella, sumpta.
28-
Intravit quam erat figentem hunc, motus de fontes parvo tempestate.
29-
30-
iscsi_virus = pitch(json_in_on(eupViral),
31-
northbridge_services_troubleshooting, personal(
32-
firmware_rw.trash_rw_crm.device(interactive_gopher_personal,
33-
software, -1), megabit, ergonomicsSoftware(cmyk_usb_panel,
34-
mips_whitelist_duplex, cpa)));
35-
if (5) {
36-
managementNetwork += dma - boolean;
37-
kilohertz_token = 2;
38-
honeypot_affiliate_ergonomics = fiber;
39-
}
40-
mouseNorthbridge = byte(nybble_xmp_modem.horse_subnet(
41-
analogThroughputService * graphicPoint, drop(daw_bit, dnsIntranet),
42-
gateway_ospf), repository.domain_key.mouse(serverData(fileNetwork,
43-
trim_duplex_file), cellTapeDirect, token_tooltip_mashup(
44-
ripcordingMashup)));
45-
module_it = honeypot_driver(client_cold_dvr(593902, ripping_frequency) +
46-
coreLog.joystick(componentUdpLink), windows_expansion_touchscreen);
47-
bashGigabit.external.reality(2, server_hardware_codec.flops.ebookSampling(
48-
ciscNavigationBacklink, table + cleanDriver), indexProtocolIsp);
49-
50-
## Placabilis coactis nega ingemuit ignoscat nimia non
51-
52-
Frontis turba. Oculi gravis est Delphice; *inque praedaque* sanguine manu non.
53-
54-
if (ad_api) {
55-
zif += usb.tiffAvatarRate(subnet, digital_rt) + exploitDrive;
56-
gigaflops(2 - bluetooth, edi_asp_memory.gopher(queryCursor, laptop),
57-
panel_point_firmware);
58-
spyware_bash.statePopApplet = express_netbios_digital(
59-
insertion_troubleshooting.brouter(recordFolderUs), 65);
60-
}
61-
recursionCoreRay = -5;
62-
if (hub == non) {
63-
portBoxVirus = soundWeb(recursive_card(rwTechnologyLeopard),
64-
font_radcab, guidCmsScalable + reciprocalMatrixPim);
65-
left.bug = screenshot;
66-
} else {
67-
tooltipOpacity = raw_process_permalink(webcamFontUser, -1);
68-
executable_router += tape;
69-
}
70-
if (tft) {
71-
bandwidthWeb *= social_page;
72-
} else {
73-
regular += 611883;
74-
thumbnail /= system_lag_keyboard;
75-
}
76-
77-
## Caesorum illa tu sentit micat vestes papyriferi
78-
79-
Inde aderam facti; Theseus vis de tauri illa peream. Oculos **uberaque** non
80-
regisque vobis cursuque, opus venit quam vulnera. Et maiora necemque, lege modo;
81-
gestanda nitidi, vero? Dum ne pectoraque testantur.
82-
83-
Venasque repulsa Samos qui, exspectatum eram animosque hinc, [aut
84-
manes](http://www.creveratnon.net/apricaaetheriis), Assyrii. Cupiens auctoribus
85-
pariter rubet, profana magni super nocens. Vos ius sibilat inpar turba visae
86-
iusto! Sedes ante dum superest **extrema**.
6+
# Scala!
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Build SBT and Build.Scala
3+
weight: 2
4+
bookToc: false
5+
---
6+
7+
# Building Scala code
8+
9+
SBT, along with Maven, is a default way to build Scala applications. `build.sbt` is the file that defines how your project is built, but sometimes you'll also see `build.scala` files in specific projects.
10+
11+
`build.scala` is the more advanced version of the `build.sbt` file, and often is used for more complicated projects.
12+
13+
[Here's an example](https://stackoverflow.com/questions/18000103/what-is-the-difference-between-build-sbt-and-build-scala) of the difference between .sbt and .scala build files:
14+
15+
build.sbt
16+
```
17+
name := "hello"
18+
19+
version := "1.0"
20+
```
21+
22+
build.scala
23+
```
24+
import sbt._
25+
import Keys._
26+
27+
object Build extends Build {
28+
lazy val root = Project(id = "root", base = file(".")).settings(
29+
name := "hello",
30+
version := "1.0"
31+
)
32+
}
33+
```
34+
35+
36+
37+
From [the official docs]( https://www.scala-sbt.org/1.x/docs/Organizing-Build.html#When+to+use++files)
38+
39+
```
40+
The recommended approach is to define most settings in a multi-project build.sbt file, and using project/*.scala files for task implementations or to share values, such as keys. The use of .scala files also depends on how comfortable you or your team are with Scala.
41+
```
42+
43+
Here's [another great doc on sbt vs Scala files.](https://alvinalexander.com/scala/sbt-how-to-use-build.scala-instead-of-build.sbt/)

content/docs/languages/scala/post1.md

Lines changed: 0 additions & 59 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
title: AWS
2+
title: Lambdas
33
---
44
asdfsadfsafs

0 commit comments

Comments
 (0)