Skip to content

Commit 3ca4dd8

Browse files
committed
first commit
1 parent d13dcb2 commit 3ca4dd8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+54036
-0
lines changed

.compilerc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"env": {
3+
"development": {
4+
"application/javascript": {
5+
"presets": [
6+
[
7+
"env",
8+
{
9+
"targets": {
10+
"electron": 1.8.4
11+
}
12+
}
13+
],
14+
"react"
15+
],
16+
"plugins": [
17+
"transform-async-to-generator"
18+
],
19+
"sourceMaps": "inline"
20+
}
21+
},
22+
"production": {
23+
"application/javascript": {
24+
"presets": [
25+
[
26+
"env",
27+
{
28+
"targets": {
29+
"electron": 1.8.4
30+
}
31+
}
32+
],
33+
"react"
34+
],
35+
"plugins": [
36+
"transform-async-to-generator"
37+
],
38+
"sourceMaps": "none"
39+
}
40+
}
41+
}
42+
}

.desktop

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[Desktop Entry]
2+
Name=gtt
3+
GenericName=gitlab time tracker
4+
Comment=A menubar application for GitLabs time tracking feature
5+
Categories=Utility;
6+
Exec=com.github.kriskbx.gitlab-time-tracker
7+
Icon=application-default-icon
8+
Terminal=false
9+
Type=Application
10+
X-GNOME-Gettext-Domain=gtt
11+
Keywords=Gitlab;Time;Tracking;Monitoring;

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/node_modules
2+
/out
3+
/resources

.eslintrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": "eslint-config-airbnb",
3+
"rules": {
4+
"import/extensions": 0,
5+
"import/no-extraneous-dependencies": 0,
6+
"import/no-unresolved": [2, { "ignore": ["electron"] }],
7+
"linebreak-style": 0
8+
}
9+
}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
out
3+
.idea
4+
Icon
5+
yarn-error.log
6+
.tresorit

.gitlab-ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
variables:
2+
GITLAB_CONTAINER_IMAGE: registry.gitlab.com/kriskbx/gitlab-time-tracker-taskbar:latest
3+
4+
stages:
5+
- build
6+
7+
build:linux:
8+
image: $GITLAB_CONTAINER_IMAGE
9+
stage: build
10+
dependencies:
11+
- dependencies
12+
artifacts:
13+
paths:
14+
- out/make
15+
script:
16+
- yarn install
17+
- yarn run make
18+
19+
build:win:
20+
stage: build
21+
dependencies:
22+
- dependencies
23+
artifacts:
24+
paths:
25+
- out/make
26+
script:
27+
- yarn install
28+
- yarn run make
29+
tags:
30+
- windows
31+
- electron-forge
32+
- node
33+
34+
build:osx:
35+
stage: build
36+
dependencies:
37+
- dependencies
38+
artifacts:
39+
paths:
40+
- out/make
41+
script:
42+
- yarn install
43+
- yarn run make
44+
tags:
45+
- osx
46+
- electron-forge
47+
- node

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM node:9.3
2+
3+
RUN apt-get update \
4+
&& apt-get install -y \
5+
wine \
6+
xvfb \
7+
build-essential \
8+
devscripts \
9+
fakeroot \
10+
debhelper \
11+
automake \
12+
autotools-dev \
13+
pkg-config \
14+
git \
15+
ca-certificates \
16+
rpm \
17+
zip \
18+
--no-install-recommends \
19+
&& yarn global add electron-forge

0 commit comments

Comments
 (0)