Code Monkey home page Code Monkey logo

spark-admin's Introduction

spark 学习

依赖 & 编译

  • 依赖基础类库 com.asa.third,com.asa.base

    • mavan 仓库地址
    <repositories>
            <repository>
                <id>andrew.asa-maven-repository</id>
                <url>https://raw.githubusercontent.com/andrew-asa/maven-repository/master/repository</url>
            </repository>
    </repositories>
    
    • mavn依赖
    <dependency>
         <groupId>com.asa</groupId>
             <artifactId>com.asa.third</artifactId>
             <version>1.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>com.asa</groupId>
             <artifactId>com.asa.base</artifactId>
         <version>1.0-SNAPSHOT</version>
    </dependency>
    
  • 最好的学习就是看单元测试

  • 参考笔记

  • 开发时间表

  • TODO

  • 涉及到改动代码的pr记得在.git/hooks里面添加运行所有单元测试,所有单元测试通过才能提交

#! /bin/bash

# save the file as <git_directory>/.git/hooks/pre-commit

echo "Running Maven clean test for errors"
# retrieving current working directory
CWD=`pwd`
MAIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# go to main project dir
cd $MAIN_DIR/../../
# running maven clean test
/usr/local/bin/mvn clean test
if [ $? -ne 0 ]; then
  "Error while testing the code"
  # go back to current working dir
  cd $CWD
  exit 1
fi
# go back to current working dir
cd $CWD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.