Commit 0869b11a authored by marius-mauritz@gmx.de's avatar marius-mauritz@gmx.de
Browse files

Init auf master, nun kommt Rest

parent 13687624
Pipeline #974 passed with stage
in 2 minutes and 7 seconds
# Files and directories created by pub
.dart_tool/
.packages
# Remove the following pattern if you wish to check in your lock file
pubspec.lock
# Conventional directory for build outputs
build/
# Directory created by dartdoc
doc/api/
.idea/
image: google/dart:2.1
before_script:
- export PATH="$PATH":"$HOME/.pub-cache/bin"
- pub global activate webdev
pages:
stage: deploy
script:
- pub get
- webdev build --output web:build
- mv build public
artifacts:
paths:
- public
only:
- master
# Defines a default set of lint rules enforced for
# projects at Google. For details and rationale,
# see https://github.com/dart-lang/pedantic#enabled-lints.
include: package:pedantic/analysis_options.yaml
# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
# Uncomment to specify additional rules.
# linter:
# rules:
# - camel_case_types
analyzer:
# exclude:
# - path/to/excluded/files/**
name: demo
description: An absolute bare-bones web app.
# version: 1.0.0
#homepage: https://www.example.com
#author: david <email@example.com>
environment:
sdk: '>=2.1.0 <3.0.0'
#dependencies:
# path: ^1.4.1
dev_dependencies:
build_runner: ^1.1.2
build_web_compilers: ^1.0.0
pedantic: ^1.0.0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="scaffolded-by" content="https://github.com/google/stagehand">
<title>demo</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="favicon.ico">
<script defer src="main.dart.js"></script>
</head>
<body>
<p id="overwrittenByDart">This is under Construction</p>
</body>
</html>
import 'dart:html';
void main() {
querySelector("#overwrittenByDart").text = "'Hello World' from Dart";
}
@import url(https://fonts.googleapis.com/css?family=Roboto);
p {
text-align: center;
font-size: 50px;
font-family: 'Roboto', sans-serif;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment